CSharp: AulaDemoDll.NamespaceB.ClassPublic
From AdonaiMedrado.Pro.Br
Revision as of 12:06, 11 November 2008 by Adonaimedrado (Talk | contribs) (New page: <code lang="csharp"> using System; namespace AulaDemoDll.NamespaceB { public class ClassPublic { private int pCampo; public int Campo { get ...)
using System; namespace AulaDemoDll.NamespaceB { public class ClassPublic { private int pCampo; public int Campo { get { return pCampo; } set { pCampo = value; } } public ClassPublic() { AulaDemoDll.NamespaceA.ClassInternal ci = new AulaDemoDll.NamespaceA.ClassInternal(); ci.Campo = 10; Campo = ci.Campo; } } }