Пример #1
0
        static void Main(string[] args)
        {
            Cls1.Func1();

            // Cannot be instantiated.
            // Cls1 p = new Cls1();
        }
Пример #2
0
        static void Main(string[] args)
        {
            // Partial Class usage
            Cls1 o1 = new Cls1();

            o1.Func1();
            o1.Func2();

            // can be different files?
        }