static void Main(string[] args) { PublicLib.Class1 pc = new PublicLib.Class1(); Console.WriteLine("Total a + b : " + pc.Sum(1, 2)); InternalLib.Class1 ic = new InternalLib.Class1(); Console.WriteLine("Total a + b : " + ic.Sum(1, 2)); }
static void Main(string[] args) { PublicLib.Class1 pc = new PublicLib.Class1(); int sum = pc.Sum(1, 2); Console.WriteLine(sum); InternalLib.Class1 ic = new InternalLib.Class1(); sum = ic.Sum(1, 2); Console.WriteLine(sum); }