Exemple #1
0
        static void Main(String[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5); //类可以赋值,因为构造了构造函数。

            t.Display();
            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5);

            t.Display();
            Console.ReadKey();
        }