배열 크기 알아내기 https://msdn.microsoft.com/ko-kr/library/hyfeyz71.aspx
형식에 맞춰 출력하기 https://msdn.microsoft.com/ko-kr/library/Dd260048(v=VS.110).aspx
배열 크기를 알아낼 때
int[3, 5] arr = new int[3, 5];
arr.Length
arr.GetLength(0)
arr.GetLength(1)
형식에 맞춰 출력할 때
Console.WriteLine("{0,10:D3}", 30);
1. C#은 한글로 검색하는 게 힘들다.
2. C#은 누구랑 비슷하지 않다.
댓글 0