{"id":1877,"date":"2013-01-29T15:56:21","date_gmt":"2013-01-29T06:56:21","guid":{"rendered":"http:\/\/auctionpro.co.kr\/?p=1877"},"modified":"2024-11-28T16:47:26","modified_gmt":"2024-11-28T07:47:26","slug":"c-list","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=1877","title":{"rendered":"c# List, Dictionary, HashSet"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">using System;\nusing System.Collections.Generic;\n\nclass Program\n{\n\tstatic void Main()\n\t{\n\t\tList list = new List();\n\t\tlist.Add(2);\n\t\tlist.Add(3);\n\t\tlist.Add(7);\n\n\t\tforeach (int prime in list) \/\/ Loop through List with foreach\n\t\t{\n\t\t\tConsole.WriteLine(prime);\n\t\t}\n\n\t\tfor (int i = 0; i &lt; list.Count; i++) \/\/ Loop through List with for \n\t\t{ \n\t\t   Console.WriteLine(list[i]); \n\t\t} \n    } \n}<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Dictionanry<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">using System;\nusing System.Collections.Generic;\n\nclass Program\n{\n    static void Main()\n    {\n        \/\/ Dictionary \uc0dd\uc131 - string\uc744 \ud0a4, int\ub97c \uac12\uc73c\ub85c \uac00\uc9c0\ub294 Dictionary\n        Dictionary&lt;string, int&gt; ages = new Dictionary&lt;string, int&gt;();\n\n        \/\/ Insert - \ub370\uc774\ud130 \ucd94\uac00\n        ages[\"Alice\"] = 25;\n        ages[\"Bob\"] = 30;\n        ages[\"Charlie\"] = 35;\n\n        \/\/ TryGetValue \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ucc3e\uae30\n        if (ages.TryGetValue(\"Alice\", out int age))\n        {\n            Console.WriteLine(\"Alice\uc758 \ub098\uc774\ub294: \" + age);\n        }\n        else\n        {\n            Console.WriteLine(\"\ud574\ub2f9 \ud0a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\");\n        }\n\n        \/\/ ContainsKey \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \ucc3e\uae30\n        if (ages.ContainsKey(\"Bob\"))\n        {\n            Console.WriteLine(\"Bob\uc758 \ub098\uc774\ub294: \" + ages[\"Bob\"]);\n        }\n        else\n        {\n            Console.WriteLine(\"\ud574\ub2f9 \ud0a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\");\n        }\n\n        \/\/ \ub370\uc774\ud130 \ucd94\uac00 (Add \uba54\uc11c\ub4dc \uc0ac\uc6a9)\n        ages.Add(\"Daisy\", 40);\n\n        \/\/ \ubc18\ubcf5\ubb38\uc73c\ub85c Dictionary \ucd9c\ub825\n        foreach (var entry in ages)\n        {\n            Console.WriteLine($\"{entry.Key}\uc758 \ub098\uc774\ub294: {entry.Value}\");\n        }\n    }\n}<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Update<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \">using System;\nusing System.Collections.Generic;\n\nclass Program\n{\n    static void Main()\n    {\n        \/\/ Dictionary \uc0dd\uc131\n        Dictionary&lt;string, int&gt; ages = new Dictionary&lt;string, int&gt;();\n\n        \/\/ \ucd08\uae30 \ub370\uc774\ud130 \ucd94\uac00\n        ages[\"Alice\"] = 25;\n        ages[\"Bob\"] = 30;\n        ages[\"Charlie\"] = 35;\n\n        \/\/ \uae30\uc874 \ud0a4\uc5d0 \uac12 \uc5c5\ub370\uc774\ud2b8\n        Console.WriteLine(\"Bob\uc758 \ub098\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\uae30 \uc804: \" + ages[\"Bob\"]);\n        ages[\"Bob\"] = 32; \/\/ \uc5c5\ub370\uc774\ud2b8\n        Console.WriteLine(\"Bob\uc758 \ub098\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud55c \ud6c4: \" + ages[\"Bob\"]);\n\n        \/\/ \ud0a4\uac00 \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub294 \uc0c8\ub85c \ucd94\uac00\ub428\n        if (!ages.ContainsKey(\"Daisy\"))\n        {\n            ages[\"Daisy\"] = 40; \/\/ \uc0c8 \ud0a4 \ucd94\uac00\n            Console.WriteLine(\"Daisy\uac00 \ucd94\uac00\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ub098\uc774: \" + ages[\"Daisy\"]);\n        }\n\n        \/\/ \uc5c5\ub370\uc774\ud2b8 \ud655\uc778\n        foreach (var entry in ages)\n        {\n            Console.WriteLine($\"{entry.Key}\uc758 \ub098\uc774\ub294: {entry.Value}\");\n        }\n    }\n}\n<\/pre><\/div>\n\n\n\n<p>LINQ \ub85c \uac80\uc0c9<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" title=\"LINQ\">using System;\nusing System.Collections.Generic;\nusing System.Linq; \/\/ LINQ\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \ucd94\uac00\n\nclass Program\n{\n    static void Main()\n    {\n        \/\/ Dictionary \uc0dd\uc131\n        Dictionary&lt;string, int&gt; ages = new Dictionary&lt;string, int&gt;();\n\n        \/\/ \ucd08\uae30 \ub370\uc774\ud130 \ucd94\uac00\n        ages[\"Alice\"] = 25;\n        ages[\"Bob\"] = 30;\n        ages[\"Charlie\"] = 35;\n\n        \/\/ \uae30\uc874 \ud0a4\uc5d0 \uac12 \uc5c5\ub370\uc774\ud2b8\n        Console.WriteLine(\"Bob\uc758 \ub098\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\uae30 \uc804: \" + ages[\"Bob\"]);\n        ages[\"Bob\"] = 32; \/\/ \uc5c5\ub370\uc774\ud2b8\n        Console.WriteLine(\"Bob\uc758 \ub098\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud55c \ud6c4: \" + ages[\"Bob\"]);\n\n        \/\/ \ud0a4\uac00 \uc5c6\ub294 \uacbd\uc6b0\uc5d0\ub294 \uc0c8\ub85c \ucd94\uac00\ub428\n        if (!ages.ContainsKey(\"Daisy\"))\n        {\n            ages[\"Daisy\"] = 40; \/\/ \uc0c8 \ud0a4 \ucd94\uac00\n            Console.WriteLine(\"Daisy\uac00 \ucd94\uac00\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ub098\uc774: \" + ages[\"Daisy\"]);\n        }\n\n        \/\/ 25\uc138 \uc774\uc0c1\ub9cc \ucc3e\ub294 \ucf54\ub4dc \ucd94\uac00 (\ubc29\ubc95 1: foreach \uc0ac\uc6a9)\n        Console.WriteLine(\"\\n25\uc138 \uc774\uc0c1\uc778 \uc0ac\ub78c\ub4e4 (\ubc29\ubc95 1):\");\n        foreach (var entry in ages)\n        {\n            if (entry.Value &gt;= 25)\n            {\n                Console.WriteLine($\"{entry.Key}: {entry.Value}\");\n            }\n        }\n\n        \/\/ 25\uc138 \uc774\uc0c1\ub9cc \ucc3e\ub294 \ucf54\ub4dc \ucd94\uac00 (\ubc29\ubc95 2: LINQ \uc0ac\uc6a9)\n        Console.WriteLine(\"\\n25\uc138 \uc774\uc0c1\uc778 \uc0ac\ub78c\ub4e4 (\ubc29\ubc95 2):\");\n        var filteredAges = ages.Where(entry =&gt; entry.Value &gt;= 25);\n        foreach (var entry in filteredAges)\n        {\n            Console.WriteLine($\"{entry.Key}: {entry.Value}\");\n        }\n    }\n}\n<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\ucd9c\ub825 \uacb0\uacfc<\/h3>\n\n\n\n<p>\uc704 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud558\uba74 \uc544\ub798\uc640 \uac19\uc740 \ucd9c\ub825\uc774 \uc608\uc0c1\ub429\ub2c8\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" title=\"\ucd9c\ub825\">Bob\uc758 \ub098\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud558\uae30 \uc804: 30\nBob\uc758 \ub098\uc774\ub97c \uc5c5\ub370\uc774\ud2b8\ud55c \ud6c4: 32\nDaisy\uac00 \ucd94\uac00\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ub098\uc774: 40\n\n25\uc138 \uc774\uc0c1\uc778 \uc0ac\ub78c\ub4e4 (\ubc29\ubc95 1):\nAlice: 25\nBob: 32\nCharlie: 35\nDaisy: 40\n\n25\uc138 \uc774\uc0c1\uc778 \uc0ac\ub78c\ub4e4 (\ubc29\ubc95 2):\nAlice: 25\nBob: 32\nCharlie: 35\nDaisy: 40\n<\/pre><\/div>\n\n\n\n<p>\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c <code>HashSet<\/code>\uc740 \ud6a8\uc728\uc801\uc778 \ubc29\uc2dd\uc73c\ub85c \uc720\ub2c8\ud06c\ud55c \uc694\uc18c\ub97c \uc800\uc7a5\ud558\ub294 \uceec\ub809\uc158\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc694\uc18c\uac00 \uceec\ub809\uc158\uc5d0\uc11c \ud55c \ubc88\ub9cc \ub098\ud0c0\ub098\uc57c \ud558\uace0, \ube60\ub974\uac8c \uc811\uadfc\ud560 \ud544\uc694\uac00 \uc788\uc744 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4. <code>HashSet<\/code>\uc740 \ub2e4\uc591\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \uad6c\ud604\ub418\uc5b4 \uc788\uc73c\uba70, \uc18d\uc131\uacfc \uba54\uc11c\ub4dc\ub294 \ub2e4\uc18c \ub2e4\ub97c \uc218 \uc788\uc9c0\ub9cc, \uae30\ubcf8 \uc6d0\ub9ac\ub294 \ube44\uc2b7\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HashSet\uc758 \ud2b9\uc131:<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\uc720\ub2c8\ud06c\ud568 : <\/strong> \uac01 \uc694\uc18c\ub294 \uc720\ub2c8\ud06c\ud574\uc57c \ud558\uba70, \uc911\ubcf5\uc740 \ud5c8\uc6a9\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc911\ubcf5 \uc694\uc18c\ub97c \ucd94\uac00\ud558\ub824\uace0 \ud558\uba74 \ucd94\uac00\uac00 \uc2e4\ud328\ud558\uac70\ub098 \ubb34\uc2dc\ub429\ub2c8\ub2e4.<\/li>\n\n\n\n<li>\uc21c\uc11c : \uc694\uc18c\uc758 \uc21c\uc11c\ub97c \uc720\uc9c0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ub530\ub77c\uc11c <code>HashSet<\/code>\uc758 \uc694\uc18c\ub97c \ubc18\ubcf5\ud574\uc11c \uc811\uadfc\ud560 \ub54c \ub9e4\ubc88 \ub2e4\ub978 \uc21c\uc11c\ub85c \ub098\ud0c0\ub0a0 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n\n\n\n<li>\ud6a8\uc728\uc131 : \uc694\uc18c\ub97c \ucd94\uac00\ud558\uac70\ub098 \uc81c\uac70\ud558\uac70\ub098 \uc694\uc18c\uc758 \uc874\uc7ac \uc5ec\ubd80\ub97c \ud655\uc778\ud558\ub294 \uc791\uc5c5\uc740 \ub9e4\uc6b0 \ud6a8\uc728\uc801\uc73c\ub85c \uc2e4\ud589\ub418\uba70, \uc77c\ubc18\uc801\uc73c\ub85c \uc0c1\uc218 \uc2dc\uac04, O(1) \uc5d0 \uc2e4\ud589\ub429\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud6a8\uc728\uc131\uc740 \uc694\uc18c\ub4e4\uc774 \ubc84\ud0b7 \ubc30\uc5f4\uc758 \uc778\ub371\uc2a4\ub85c \ud574\uc2f1\ub418\ub294 \ud574\uc2dc \ud14c\uc774\ube14\uc744 \uc0ac\uc6a9\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4.<\/li>\n\n\n\n<li>Null \uac12 : Null \uac12\uc744 \ud5c8\uc6a9\ud560 \uc218\ub3c4 \uc788\uace0 \uadf8\ub807\uc9c0 \uc54a\uc744 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc790\ubc14\uc5d0\uc11c\ub294 Null \uc694\uc18c\ub97c \ud558\ub098 \ud3ec\ud568\ud560 \uc218 \uc788\uace0, .NET\uc5d0\uc11c\ub3c4 \uc694\uc18c\uc758 \uc720\ud615\uc774 \ud5c8\uc6a9\ud558\ub294 \uacbd\uc6b0 Null \uc744 \uc800\uc7a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">HashSet\uc758 \uc2e4\uc6a9\uc801 \uc6a9\ub3c4:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\uc911\ubcf5 \uc81c\uac70:<\/strong> \uc544\uc774\ud15c \uceec\ub809\uc158\uc5d0\uc11c \uc911\ubcf5\uc744 \uc81c\uac70\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>\uba64\ubc84\uc2ed \ud14c\uc2a4\ud2b8:<\/strong> \uc544\uc774\ud15c\uc774 \uc138\ud2b8\uc5d0 \uc874\uc7ac\ud558\ub294\uc9c0 \ube60\ub974\uac8c \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>\uad50\uc9d1\ud569\uacfc \ucc28\uc9d1\ud569:<\/strong> \uc138\ud2b8\uac04\uc758 \uacf5\ud1b5 \uc694\uc18c\ub098 \ucc28\uc774\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \ucc3e\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">C#\uc5d0\uc11c\uc758 \uc608\uc2dc:<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" title=\"HashSet\" >using System;\nusing System.Collections.Generic;\n\npublic class HashSetExample\n{\n    public static void Main()\n    {\n        HashSet&lt;string&gt; names = new HashSet&lt;string&gt;();\n\n        names.Add(\"Alice\");\n        names.Add(\"Bob\");\n        names.Add(\"Charlie\");\n\n        \/\/ \uc911\ubcf5 \ucd94\uac00 \uc2dc\ub3c4\n        bool added = names.Add(\"Alice\");\n        Console.WriteLine(\"Alice\uac00 \ub2e4\uc2dc \ucd94\uac00\ub410\ub098\uc694? \" + added);  \/\/ \ucd9c\ub825: false\n\n        \/\/ 'Bob'\uc774 \uc138\ud2b8 \uc548\uc5d0 \uc788\ub294\uc9c0 \ud655\uc778\n        if (names.Contains(\"Bob\"))\n        {\n            Console.WriteLine(\"Bob\uc774 \uc138\ud2b8 \uc548\uc5d0 \uc788\uc2b5\ub2c8\ub2e4.\");\n        }\n\n        \/\/ \ubaa8\ub4e0 \uc774\ub984 \ucd9c\ub825\n        foreach (string name in names)\n        {\n            Console.WriteLine(name);\n        }\n    }\n}\n<\/pre><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:c# decode:true \" title=\"HashSet 2\" >\/\/ C#\uc5d0\uc11c HashSet \uc0ac\uc6a9 \uc608\uc2dc\nHashSet&lt;string&gt; emails = new HashSet&lt;string&gt;();\nemails.Add(\"example@example.com\");\nemails.Add(\"test@test.com\");\n\n\/\/ \uc911\ubcf5\ub41c \uc774\uba54\uc77c \ucd94\uac00 \uc2dc\ub3c4\nbool isAdded = emails.Add(\"example@example.com\"); \/\/ false \ubc18\ud658, \ucd94\uac00\ub418\uc9c0 \uc54a\uc74c\n\n\/\/ \uc774\uba54\uc77c \uc874\uc7ac \uc5ec\ubd80 \ud655\uc778\nbool contains = emails.Contains(\"example@example.com\"); \/\/ true \ubc18\ud658\n<\/pre><\/div>\n\n\n\n<p>\ub370\uc774\ud130\uc758 \uc720\ub2c8\ud06c\ud568\uc744 \ubcf4\uc7a5\ud558\uace0 \ud6a8\uc728\uc801\uc73c\ub85c \ub370\uc774\ud130\ub97c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc694\uc18c\uc758 \uc21c\uc11c\uac00 \uc911\uc694\ud558\uc9c0 \uc54a\uace0, \uc911\ubcf5\uc744 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc544\uc57c \ud560 \ub54c \uc801\ud569\ud55c \uc120\ud0dd\uc785\ub2c8\ub2e4.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>List<br>\ud2b9\uc9d5: \uc694\uc18c\ub4e4\uc774 \uc21c\ucc28\uc801\uc73c\ub85c \uc800\uc7a5\ub418\uba70, \uc911\ubcf5\uc744 \ud5c8\uc6a9\ud569\ub2c8\ub2e4.<br>\uc7a5\uc810: \uc778\ub371\uc2a4\ub97c \ud1b5\ud55c \uc811\uadfc\uc774 \ube60\ub974\uace0, \uc21c\uc11c\uac00 \ubcf4\uc7a5\ub429\ub2c8\ub2e4.<br>\ub2e8\uc810: \uc694\uc18c\uc758 \ucd94\uac00 \ubc0f \uc0ad\uc81c\uc5d0 \ub530\ub77c \uc131\ub2a5\uc774 \uc800\ud558\ub420 \uc218 \uc788\uc73c\uba70, \ud2b9\uc815 \uc694\uc18c\ub97c \ucc3e\uae30 \uc704\ud574\uc11c\ub294 \uc21c\ucc28 \ud0d0\uc0c9\uc744 \ud574\uc57c \ud574\uc11c \ube44\ud6a8\uc728\uc801\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>\uc801\ud569\ud55c \uc0ac\uc6a9 \uc608: \uc21c\uc11c\uac00 \uc911\uc694\ud558\uac70\ub098 \uc911\ubcf5\ub41c \uc694\uc18c\ub97c \ud5c8\uc6a9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0, \uc608\ub97c \ub4e4\uc5b4 \uc21c\uc11c\ub300\ub85c \ucc98\ub9ac\ud574\uc57c \ud558\ub294 \uc791\uc5c5 \ubaa9\ub85d \uad00\ub9ac \ub4f1.<\/li>\n\n\n\n<li>Dictionary<br>\ud2b9\uc9d5: \ud0a4-\uac12 \uc30d\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uba70, \uac01 \ud0a4\ub294 \uc720\ub2c8\ud06c\ud574\uc57c \ud569\ub2c8\ub2e4.<br>\uc7a5\uc810: \ud0a4\ub97c \ud1b5\ud55c \ub370\uc774\ud130 \uc811\uadfc\uc774 \ub9e4\uc6b0 \ube60\ub974\uba70, \ud0a4\uc5d0 \uc758\ud55c \uc9c1\uc811\uc801\uc778 \ub370\uc774\ud130 \uac80\uc0c9\uc774 \uac00\ub2a5\ud569\ub2c8\ub2e4.<br>\ub2e8\uc810: \uba54\ubaa8\ub9ac \uc0ac\uc6a9\uc774 List\ub098 HashSet\uc5d0 \ube44\ud574 \uc0c1\ub300\uc801\uc73c\ub85c \ud06c\uace0, \ud0a4 \uac12\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.<br>\uc801\ud569\ud55c \uc0ac\uc6a9 \uc608: \ud0a4\ub97c \ud1b5\ud574 \ube60\ub974\uac8c \uac12\uc744 \uac80\uc0c9\ud558\uac70\ub098 \uc5c5\ub370\uc774\ud2b8\ud574\uc57c \ud560 \ub54c, \uc608\ub97c \ub4e4\uc5b4 \uc0ac\uc6a9\uc790 ID\ub85c \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \ube60\ub974\uac8c \ucc3e\uc544\uc57c \ud558\ub294 \uacbd\uc6b0.<\/li>\n\n\n\n<li>HashSet<br>\ud2b9\uc9d5: \uc720\ub2c8\ud06c\ud55c \uc694\uc18c\ub9cc \uc800\uc7a5\ub418\uba70, \uc694\uc18c\ub4e4\uc758 \uc21c\uc11c\ub294 \ubb34\uc791\uc704\uc785\ub2c8\ub2e4.<br>\uc7a5\uc810: \uc694\uc18c\uc758 \ucd94\uac00, \uc0ad\uc81c, \uac80\uc0c9\uc774 \ub9e4\uc6b0 \ube60\ub985\ub2c8\ub2e4.<br>\ub2e8\uc810: \uc694\uc18c\uc758 \uc21c\uc11c\uac00 \uc720\uc9c0\ub418\uc9c0 \uc54a\uace0, \uac12\uc758 \uc911\ubcf5\uc744 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<br>\uc801\ud569\ud55c \uc0ac\uc6a9 \uc608: \uc694\uc18c\uc758 \uc720\ub2c8\ud06c\ud568\uc774 \uc911\uc694\ud558\uac70\ub098 \uc911\ubcf5\uc744 \ud53c\ud558\uace0 \uc2f6\uc744 \ub54c, \uc608\ub97c \ub4e4\uc5b4 \ubc29\ubb38\uc790\uc758 IP \uc8fc\uc18c\ub97c \uc800\uc7a5\ud558\uba70 \uc911\ubcf5 \ubc29\ubb38\uc744 \uccb4\ud06c\ud560 \ub54c.<br><\/li>\n\n\n\n<li>\uc0c1\ud669\uc5d0 \ub530\ub978 \uc120\ud0dd:<br>\uc21c\uc11c \uc720\uc9c0\uc640 \uc911\ubcf5 \ud5c8\uc6a9: List<br>\ube60\ub978 \uac80\uc0c9 \ubc0f \uc720\ub2c8\ud06c\ud55c \ud0a4-\uac12 \uc30d \uad00\ub9ac: Dictionary<br>\uc720\ub2c8\ud06c\ud55c \uc694\uc18c\uc758 \ube60\ub978 \ucd94\uac00, \uc0ad\uc81c, \uac80\uc0c9: HashSet<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Dictionanry Update LINQ \ub85c \uac80\uc0c9 \ucd9c\ub825 \uacb0\uacfc \uc704 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud558\uba74 \uc544\ub798\uc640 \uac19\uc740 \ucd9c\ub825\uc774 \uc608\uc0c1\ub429\ub2c8\ub2e4. \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c HashSet\uc740 \ud6a8\uc728\uc801\uc778 \ubc29\uc2dd\uc73c\ub85c \uc720\ub2c8\ud06c\ud55c \uc694\uc18c\ub97c \uc800\uc7a5\ud558\ub294 \uceec\ub809\uc158\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc694\uc18c\uac00 \uceec\ub809\uc158\uc5d0\uc11c <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=1877\" title=\"c# List, Dictionary, HashSet\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1877","post","type-post","status-publish","format-standard","hentry","category-devc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>c# List, Dictionary, HashSet - AuctionPro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.auctionpro.co.kr\/?p=1877\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"c# List, Dictionary, HashSet - AuctionPro\" \/>\n<meta property=\"og:description\" content=\"Dictionanry Update LINQ \ub85c \uac80\uc0c9 \ucd9c\ub825 \uacb0\uacfc \uc704 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud558\uba74 \uc544\ub798\uc640 \uac19\uc740 \ucd9c\ub825\uc774 \uc608\uc0c1\ub429\ub2c8\ub2e4. \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c HashSet\uc740 \ud6a8\uc728\uc801\uc778 \ubc29\uc2dd\uc73c\ub85c \uc720\ub2c8\ud06c\ud55c \uc694\uc18c\ub97c \uc800\uc7a5\ud558\ub294 \uceec\ub809\uc158\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc694\uc18c\uac00 \uceec\ub809\uc158\uc5d0\uc11c [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.auctionpro.co.kr\/?p=1877\" \/>\n<meta property=\"og:site_name\" content=\"AuctionPro\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-29T06:56:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-28T07:47:26+00:00\" \/>\n<meta name=\"author\" content=\"golgol\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"golgol\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877\"},\"author\":{\"name\":\"golgol\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"headline\":\"c# List, Dictionary, HashSet\",\"datePublished\":\"2013-01-29T06:56:21+00:00\",\"dateModified\":\"2024-11-28T07:47:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877\"},\"wordCount\":28,\"commentCount\":0,\"articleSection\":[\"[Dev]C#\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877\",\"name\":\"c# List, Dictionary, HashSet - AuctionPro\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\"},\"datePublished\":\"2013-01-29T06:56:21+00:00\",\"dateModified\":\"2024-11-28T07:47:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=1877#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"c# List, Dictionary, HashSet\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\",\"name\":\"AuctionPro\",\"description\":\"\uc625\uc158\ud504\ub85c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\",\"name\":\"golgol\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?author=6\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"c# List, Dictionary, HashSet - AuctionPro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.auctionpro.co.kr\/?p=1877","og_locale":"ko_KR","og_type":"article","og_title":"c# List, Dictionary, HashSet - AuctionPro","og_description":"Dictionanry Update LINQ \ub85c \uac80\uc0c9 \ucd9c\ub825 \uacb0\uacfc \uc704 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud558\uba74 \uc544\ub798\uc640 \uac19\uc740 \ucd9c\ub825\uc774 \uc608\uc0c1\ub429\ub2c8\ub2e4. \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c HashSet\uc740 \ud6a8\uc728\uc801\uc778 \ubc29\uc2dd\uc73c\ub85c \uc720\ub2c8\ud06c\ud55c \uc694\uc18c\ub97c \uc800\uc7a5\ud558\ub294 \uceec\ub809\uc158\uc785\ub2c8\ub2e4. \ud2b9\ud788, \uc694\uc18c\uac00 \uceec\ub809\uc158\uc5d0\uc11c [...]","og_url":"https:\/\/www.auctionpro.co.kr\/?p=1877","og_site_name":"AuctionPro","article_published_time":"2013-01-29T06:56:21+00:00","article_modified_time":"2024-11-28T07:47:26+00:00","author":"golgol","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"golgol","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.auctionpro.co.kr\/?p=1877#article","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=1877"},"author":{"name":"golgol","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"headline":"c# List, Dictionary, HashSet","datePublished":"2013-01-29T06:56:21+00:00","dateModified":"2024-11-28T07:47:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=1877"},"wordCount":28,"commentCount":0,"articleSection":["[Dev]C#"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.auctionpro.co.kr\/?p=1877#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.auctionpro.co.kr\/?p=1877","url":"https:\/\/www.auctionpro.co.kr\/?p=1877","name":"c# List, Dictionary, HashSet - AuctionPro","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/#website"},"datePublished":"2013-01-29T06:56:21+00:00","dateModified":"2024-11-28T07:47:26+00:00","author":{"@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"breadcrumb":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=1877#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.auctionpro.co.kr\/?p=1877"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.auctionpro.co.kr\/?p=1877#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/www.auctionpro.co.kr\/"},{"@type":"ListItem","position":2,"name":"c# List, Dictionary, HashSet"}]},{"@type":"WebSite","@id":"https:\/\/www.auctionpro.co.kr\/#website","url":"https:\/\/www.auctionpro.co.kr\/","name":"AuctionPro","description":"\uc625\uc158\ud504\ub85c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.auctionpro.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2","name":"golgol","url":"https:\/\/www.auctionpro.co.kr\/?author=6"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1877"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1877\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}