using System; string[] names = new string[]{"Shin","Kim"}; int findIndex = Array.FindIndex(names, i => i == "Kim");특정 조건을 만족하는 배열 Index 찾기
'C#' 카테고리의 다른 글
[C# Linq] 정렬, Orderby ThenBy (0) | 2018.10.12 |
---|---|
[C# Linq] 원하는 타입의 요소만 반환 (0) | 2018.10.12 |
숫자 앞에 0으로 채우기 (0) | 2017.03.31 |
C#] GetType의 활용 (0) | 2017.03.27 |