프로그래밍/C#
C# Dictionary 에서 KeyCollection 가져오는 법
초징
2017. 2. 8. 14:59
반응형
딕셔너리에서 키 뭉치 가져오는법
List<string> keyList = new List<string>(this.yourDictionary.Keys);
아무리 딕셔너리에서 한방으로 가져오려해도 ㅠㅠ 방법을 찾을수가없다..
한방에 가져올 수 있는 방법 아시는분 댓글점..
출처 : http://stackoverflow.com/questions/1276763/how-do-i-get-the-list-of-keys-in-a-dictionary
반응형