변수의 선언과 대입
using System;
namespace abc
{
class data
{
public static void Main()
{
int a;
int b;
a = 2;
b = 3;
a = b;
Console.WriteLine(a);
}
}
}
'C#' 카테고리의 다른 글
null-coalescing operators (0) | 2020.03.16 |
---|---|
3. 수치형 (정수형과 실수형) (0) | 2016.01.18 |
1. Hello World! (0) | 2016.01.18 |