?? program.cs
字號:
?using System;
using System.Collections.Generic;
using System.Text;
namespace BookManager
{
class Program
{
static void Main(string[] args)
{
Book book1 = new Book("Crazy English", 100, BookType.English);
Book book2 = new Book("365夜", 100, BookType.Story);
Book book3 = new Book("設計模式", 100, BookType.Computer);
POS pos = new POS();
IDiscount id1 = new EnglishDiscount();
IDiscount id2 = new StoryDiscount();
IDiscount id3 = new ComputerDiscount();
Console.WriteLine(pos.Scan(book1,id1));
Console.WriteLine(pos.Scan(book2, id2));
Console.WriteLine(pos.Scan(book3,id3));
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -