콘솔창에 글자쓰는함수
printf랑 비슷
Console.WriteLine("adfsdfd");
Console.WriteLine("a:{0} b:{1} a+b:{2}", a, b, a+b);
Console.Write("a:"+a+" b:"+b+" a+b:"+(a+b));
출력방법
콘솔창에 글자쓰는함수
printf랑 비슷
Console.WriteLine("adfsdfd");
Console.WriteLine("a:{0} b:{1} a+b:{2}", a, b, a+b);
Console.Write("a:"+a+" b:"+b+" a+b:"+(a+b));
출력방법