예제 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("WSB");

            first_name.namespace_1 ob = new first_name.namespace_1();
            ob.method();

            namespace_2.method();

            Outer.Middle.Inner.Prog ob3 = new Outer.Middle.Inner.Prog();
            Console.WriteLine("Suma Wynosi: {0}", ob3.Add(3, 6));

            Console.ReadKey();
        }
예제 #2
0
파일: Program.cs 프로젝트: hakue1990/WSB
        static void Main(string[] args)
        {
            System.Console.ForegroundColor = System.ConsoleColor.Green;
            //System.Console.WriteLine("WSB!");

            firstName.namespace_1 ob = new firstName.namespace_1();
            ob.method();

            namespace_2.method();

            Outer.Middle.Inner.Prog ob3 = new Outer.Middle.Inner.Prog(); // tu ten temat
            Console.WriteLine("suma wynosi: {0}", ob3.Add(3, 4));
            System.Console.ReadKey();
        }