コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine(sizeof(int));
            Console.WriteLine(sizeof(long));
            Console.WriteLine(typeof(Program));
            Console.WriteLine();

            Console.WriteLine(Convert.ToInt16(' ')); // int 32 si convert toString din WriteLine

            var a = new Program(999);

            Console.WriteLine(Program.myFirstStatic + " " + a.myFirstField);


            var b = new Program(999 - 888);

            Console.WriteLine(Program.myFirstStatic + " " + b.myFirstField);

            var dayCar = new ModelS();

            var class1 = new Class1(); //from ClassLibrary!

            class1.MyPublicMethod();


            Console.ReadLine();
        }