-
[C#] Dictionary sortC#/기초 2023. 11. 1. 16:00
SortedDictionary
SortedDictionary<TKey,TValue> Class (System.Collections.Generic)
Represents a collection of key/value pairs that are sorted on the key.
learn.microsoft.com
https://moonpmj.tistory.com/44
c# dictionary sort 방법
1. dictionary key sort using System; using System.Collections.Generic; using System.Linq; class Program { static void Main() { // Create dictionary and add five keys and values. var dictionary = new Dictionary(); dictionary.Add("car", 2); dictionary.Add("a
moonpmj.tistory.com
728x90'C# > 기초' 카테고리의 다른 글
[C#] _ = (0) 2023.11.30 [C#] 객체 깊은 복사 (0) 2023.11.14 [C#] params 키워드 (1) 2023.10.31 [C#] Zip 파일 목록, XML (0) 2023.10.20 [C#] Func<> (0) 2023.10.19 댓글