static void Main(string[] args) { Cls1.Func1(); // Cannot be instantiated. // Cls1 p = new Cls1(); }
static void Main(string[] args) { // Partial Class usage Cls1 o1 = new Cls1(); o1.Func1(); o1.Func2(); // can be different files? }