📄 class1.cs
字号:
namespace Greetings
{
using System;
/// <summary>
/// This program prompts the user for their name and then greets them by name
/// </summary>
public class Greeter
{
public static int Main(string[] args)
{
//
// TODO: Add code to start application here
//
string myName;
Console.WriteLine("Please enter your name");
myName = Console.ReadLine();
Console.WriteLine("Hello {0}", myName);
return 0;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -