main.cs
来自「Microsoft?Visual C#?.NET (Core Reference」· CS 代码 · 共 28 行
CS
28 行
using System;
namespace MSPress.CSharpCoreRef.QuoteArray
{
class QuoteArrayApp
{
static string [] quotes = new string []
{
// Henry V
"We few, we happy few, we band of brothers.",
// Hamlet
"Alas, poor Yorick!",
// Titus Andronicus
"I know them all, though they suppose me mad",
// Twelfth Night
"Some are born great, some achieve greatness, " +
"and others have greatness thrust upon them."
};
static void Main(string[] args)
{
for(int i = 0; i < quotes.Length; ++i)
{
Console.WriteLine(quotes[i]);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?