Difference between revisions of "CSharp: AulaDemoDll.NamespaceB.ClassPublic"
From AdonaiMedrado.Pro.Br
(New page: <code lang="csharp"> using System; namespace AulaDemoDll.NamespaceB { public class ClassPublic { private int pCampo; public int Campo { get ...) |
(No difference)
|
Latest revision as of 12:06, 11 November 2008
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; } } }