2주차(0908)


2주차(0908)

실습 1-7 1 2 3 4 5 6 7 8 9 10 11 12 using System; class lunch { static void Main() { string a1 = "내"; string a2 = "친구는"; int num = 10; string a3 = "명입니다."; Console.WriteLine(a1 + a2 + num + a3); } } Colored by Color Scripter cs <실행결과) 내친구는10명입니다. 실습1-8 1 2 3 4 5 6 7 8 9 10 11 12 using System; class nuber1 { static void Main() { int[] num1 = { 100, 200, 300 }; Console.WriteLine(num1[0]); Console.WriteLine(num1[1]); Console.WriteLine(num1[2]); } } Colored by Color Scripter cs <실행결과> 100 200 300 실습 1...



원문링크 : 2주차(0908)