Part two of namespace Intro with the class C. | Lecture 4 - slide 19 : 29 Program 12 |
// f2.cs: Second part of the namespace Intro using System; namespace Intro{ public class C { private A var1 = new A(); private B var = new B(); public void MethC (){ Console.WriteLine("This is MethC in class Intro.C"); Console.WriteLine("{0}", var); Console.WriteLine("{0}", var1); } } } |