📄 monitor.cs
字号:
using System;
namespace Sony
{
/// <summary>
/// Summary description for Monitor.
/// </summary>
public class Monitor
{
public void ListModelStocks()
{
Console.WriteLine("Following are the models and stock of Sony monitors:");
Console.WriteLine("14\"=1000, 15\"=2000, 17\"=3000");
}
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main(string[] args)
{
Samsung.Monitor objSamsung = new Samsung.Monitor();
Monitor objSony = new Monitor();
objSamsung.ListModels();
objSony.ListModelStocks();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -