C에서 배열을 한꺼번에 초기화 시킬 수 있듯이 C#에서도 아래의 방법처럼 가능하다.
byte[] data = new byte[10];
Array.Clear(data, 0, data.Length);

+ Recent posts