> 일반배열
string[] testList = new string[10]; testList[0] = "일"; testList[1] = "이"; foreach (string item in testList) { int index = Array.IndexOf( testList, item ); }
'c# 강의 > 수업내용(문법 관련)' 카테고리의 다른 글
20200427 - 싱글톤 (0) | 2020.04.28 |
---|---|
20200423 - Achievement (0) | 2020.04.23 |
20200409 - Enum ( 문자열로 enum 찾기 ) (0) | 2020.04.10 |
20200409 - Enum 순환시 참고(foreach, length) (0) | 2020.04.10 |
20200408 - Enum 선언 및 리스트 출력(형변환) (0) | 2020.04.08 |