배열(Array) 목차 배열(Array) 배열이란, 동일한 타입의 변수를 모아놓은 데이터 집합이라고 할 수 있다. 아래는 배열의 선언 방법이다. 자료형[] 배열명 = new 자료형[크기] 크기 6을 가진 int 형식의 배열 student를 선언하려면 아래와 같이 선언하면 된다. int[] stucdent = new int[6]; student[0] = 4; student[1] = 9; student[2] = 1; ... 위와 같이 선언하면 아래와 같이 6개의 공간을 가진 int형 배열 구조를 형성한다. 🔔 예제) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading..