Exemplo n.º 1
0
Arquivo: Program.cs Projeto: wjt889/C-
        static void Main(String[] args)
        {
            Tabletop t = new Tabletop(4.5, 7.5); //类可以赋值,因为构造了构造函数。

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

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