示例#1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World");
            Console.WriteLine("This is how you can input strings onto the console");

            SportsCar myCar = new SportsCar();

            Console.WriteLine("My Car: {0}", myCar.GetPetName());
        }
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            SportsCar c = new SportsCar();

            c.myMethod();

            Console.ReadLine();
        }