introductory-examples/program-organization/3/client.cs - A client class that uses the classes in namespace Intro. | Lecture 4 - slide 19 : 29 Program 13 |
// client.cs: A client of the classes in namespace Intro /* namespace Intro internal class A public class B public class C */ using System; using Intro; class Client { public static void Main(){ // A a = new A(); // Compiler error: Class A is internal in Intro B b = new B(); C c = new C(); Console.WriteLine("{0} {1}", b, c); } }