21 lines
501 B
C#
21 lines
501 B
C#
internal class Program
|
|
{
|
|
/// <summary>
|
|
/// 클래스나 함수에 대한 코멘트
|
|
/// </summary>
|
|
/// <param name="args"></param>
|
|
private static void Main(string[] args)
|
|
{
|
|
// 코멘트: 한 라인 코멘트는 두개의 슬래시 사용함
|
|
int a = 1;
|
|
|
|
|
|
int b = 1; // 코멘트: 하나의 문장 뒤에 코멘트를 달 수 있음
|
|
|
|
/*
|
|
복수 라인에 대한 코멘트
|
|
int c;
|
|
int d;
|
|
*/
|
|
}
|
|
} |