コード例 #1
0
ファイル: Laptop-Shop.cs プロジェクト: M-Veselinov/CSharp-OOP
    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();
    }