示例#1
0
    static void Main()
    {
        Laptop newLaptop = new Laptop("Intel HD Graphics 5000", "Intel Core i7", "Apple", "MacBook Air", "45W MagSafe 2");

        Console.WriteLine(newLaptop.battery);
        newLaptop.DisplayInfo();
    }