LoginSignup
1
0

More than 5 years have passed since last update.

C# Hello World!プログラム

Posted at

using System;

namespace Hello
{
class Program
{
static void Main(string[] args)
{
// 文字列の表示
Console.WriteLine("Hello, World!");
}
}
}

●プログラムを実行●
Visual Studio2017で「デバッグ」→ 「デバッグなしで開始」を選択する。
ビルドして実行したらMain{}の中に書いた命令が実行されます。
出力する文字列は「"」で囲みます。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0