{"id":42690,"date":"2024-11-13T20:47:54","date_gmt":"2024-11-13T20:47:54","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=42690"},"modified":"2024-11-26T06:34:45","modified_gmt":"2024-11-26T06:34:45","slug":"2-c-%ec%b5%9c%ec%8b%a0-%eb%ac%b8%eb%b2%95%ea%b3%bc-%ea%b8%b0%eb%8a%a5-%ed%99%9c%ec%9a%a9-switch-%ed%91%9c%ed%98%84%ec%8b%9d%ea%b3%bc-%ed%8c%a8%ed%84%b4-%eb%a7%a4%ec%b9%ad","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/42690\/","title":{"rendered":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d"},"content":{"rendered":"<p><body><\/p>\n<p>\n        C#\uc740 \ud604\uc7ac \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \ub9e4\uc6b0 \uc778\uae30\uac00 \ub192\uace0 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \ud2b9\ud788, C#\uc758 \ucd5c\uc2e0 \ubc84\uc804\uc5d0\uc11c\ub294 \ub9ce\uc740 \uae30\ub2a5\uc774 \ucd94\uac00\ub418\uc5b4<br \/>\n        \uac1c\ubc1c\uc790\ub4e4\uc774 \ucf54\ub4dc \uc791\uc131 \uc2dc \ub354 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc5c5\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \uc911, \ud2b9\ud788 switch \ud45c\ud604\uc2dd\uacfc<br \/>\n        \ud328\ud134 \ub9e4\uce6d\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>1. switch \ud45c\ud604\uc2dd \uc18c\uac1c<\/h2>\n<p>\n        switch \ud45c\ud604\uc2dd\uc740 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c \uae30\ub2a5\uc73c\ub85c, \uae30\uc874\uc758 switch \ubb38\ubcf4\ub2e4 \ub354\uc6b1 \uac04\uacb0\ud558\uace0 \uba85\ud655\ud55c \ubb38\ubc95\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774 \ud45c\ud604\uc2dd\uc740<br \/>\n        \uc870\uac74\uc5d0 \ub530\ub77c \uac12\uc744 \ubc18\ud658\ud558\uba70, \uacb0\uacfc\ub97c \ubcc0\uc218\uc5d0 \ud560\ub2f9\ud560 \uc218 \uc788\ub294 \uc7a5\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc778 \uad6c\ubb38\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>C#\n\/\/ switch \ud45c\ud604\uc2dd\uc758 \uae30\ubcf8 \uc608\uc81c\nint number = 2;\nstring result = number switch\n{\n    1 =&gt; \"\ud558\ub098\",\n    2 =&gt; \"\ub458\",\n    3 =&gt; \"\uc14b\",\n    _ =&gt; \"\uae30\ud0c0\" \/\/ \uae30\ubcf8(default)\uac12\n};\nConsole.WriteLine(result); \/\/ \ucd9c\ub825: \ub458\n<\/code><\/pre>\n<h3>1.1. switch \ud45c\ud604\uc2dd\uc758 \uc7a5\uc810<\/h3>\n<p>\n        switch \ud45c\ud604\uc2dd\uc740 \uac00\ub3c5\uc131\uc774 \ub6f0\uc5b4\ub098\uba70, \ucf54\ub4dc\uac00 \uac04\uacb0\ud574\uc838\uc11c \uc720\uc9c0\ubcf4\uc218\ud558\uae30 \uc26c\uc6b4 \uc7a5\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c, \uac01 \ucf00\uc774\uc2a4\uc5d0\uc11c \ubc18\ud658\ud560 \uac12\uc744<br \/>\n        \ubc14\ub85c \uc815\uc758\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c, \uae30\uc874\uc758 switch \ubb38\ubcf4\ub2e4 \ucf54\ub4dc \ud750\ub984\uc744 \uc774\ud574\ud558\uae30 \uc26c\uc6cc\uc9d1\ub2c8\ub2e4.\n    <\/p>\n<h2>2. \ud328\ud134 \ub9e4\uce6d<\/h2>\n<p>\n        C# 7.0\ubd80\ud130 \ub3c4\uc785\ub41c \ud328\ud134 \ub9e4\uce6d\uc740 \uac1d\uccb4\uc758 \ud615\uc744 \uac80\uc0ac\ud558\uace0, \uc77c\uce58\ud558\ub294 \ud615\uc5d0 \ub530\ub77c \uc791\uc5c5\uc744 \uc218\ud589\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. \uc774\ub294 \ucf54\ub4dc\uc758 \uc720\uc5f0\uc131\uacfc<br \/>\n        \uac00\ub3c5\uc131\uc744 \ub192\uc774\ub294 \ub370 \uae30\uc5ec\ud569\ub2c8\ub2e4. \ud328\ud134 \ub9e4\uce6d\uc740 \uc5ec\ub7ec\ud615\uc73c\ub85c \ub098\ub204\uc5b4 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \uc5ec\uae30\uc5d0\uc11c\ub294 <code>switch<\/code> \ud45c\ud604\uc2dd \ub0b4\uc5d0\uc11c<br \/>\n        \uc5b4\ub5bb\uac8c \ud65c\uc6a9\ub420 \uc218 \uc788\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h3>2.1. \uae30\ubcf8 \ud328\ud134 \ub9e4\uce6d<\/h3>\n<pre><code>C#\n\/\/ \uae30\ubcf8 \ud328\ud134 \ub9e4\uce6d \uc608\uc81c\nobject obj = \"Hello\";\nstring message = obj switch\n{\n    string s when s.StartsWith(\"H\") =&gt; \"H\ub85c \uc2dc\uc791\ud558\ub294 \ubb38\uc790\uc5f4\uc785\ub2c8\ub2e4.\",\n    int i =&gt; \"\uc815\uc218\uc785\ub2c8\ub2e4: \" + i,\n    _ =&gt; \"\uc54c \uc218 \uc5c6\ub294 \ud0c0\uc785\uc785\ub2c8\ub2e4.\"\n};\nConsole.WriteLine(message); \/\/ \ucd9c\ub825: H\ub85c \uc2dc\uc791\ud558\ub294 \ubb38\uc790\uc5f4\uc785\ub2c8\ub2e4.\n<\/code><\/pre>\n<h3>2.2. \ub354 \ubcf5\uc7a1\ud55c \ud328\ud134 \uc0ac\uc6a9<\/h3>\n<p>\n        C#\uc758 \ud328\ud134 \ub9e4\uce6d\uc740 \ud0c0\uc785 \ud328\ud134, \uac12 \ud328\ud134, \ub110 \ud328\ud134 \ub4f1\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud328\ud134\uc740 \ubcf5\uc7a1\ud55c \uc870\uac74\uc744 \uba85\ud655\ud558\uac8c \ud45c\ud604\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4.<br \/>\n        \uc544\ub798 \uc608\uc81c\ub97c \uc0b4\ud3b4\ubd05\uc2dc\ub2e4.\n    <\/p>\n<pre><code>C#\n\/\/ \ub2e4\uc591\ud55c \ud328\ud134 \ub9e4\uce6d \uc608\uc81c\nobject data = new List<int> { 1, 2, 3 };\n\nstring resultPattern = data switch\n{\n    int[] arr =&gt; $\"\uc815\uc218 \ubc30\uc5f4\uc785\ub2c8\ub2e4. \uae38\uc774: {arr.Length}\",\n    List<int> list when list.Count &gt; 0 =&gt; $\"\uc815\uc218 \ub9ac\uc2a4\ud2b8\uc785\ub2c8\ub2e4. \uccab \ubc88\uc9f8 \uc694\uc18c: {list[0]}\",\n    _ =&gt; \"\uc54c \uc218 \uc5c6\ub294 \ub370\uc774\ud130 \ud0c0\uc785\uc785\ub2c8\ub2e4.\"\n};\nConsole.WriteLine(resultPattern); \/\/ \ucd9c\ub825: \uc815\uc218 \ub9ac\uc2a4\ud2b8\uc785\ub2c8\ub2e4. \uccab \ubc88\uc9f8 \uc694\uc18c: 1\n<\/int><\/int><\/code><\/pre>\n<h2>3. switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc758 \uacb0\ud569<\/h2>\n<p>\n        switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc740 \ud568\uaed8 \uc0ac\uc6a9\ub418\uc5b4 \ud6e8\uc52c \uac15\ub825\ud55c \uae30\ub2a5\uc744 \ubc1c\ud718\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ucf54\ub4dc\uc758 \uac00\ub3c5\uc131\uc744 \ub192\uc774\uace0, \uc720\uc9c0\ubcf4\uc218\uc131\uc744<br \/>\n        \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \ud070 \ub3c4\uc6c0\uc774 \ub429\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc774 \ub450 \uac00\uc9c0 \uae30\ub2a5\uc744 \uacb0\ud569\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4.\n    <\/p>\n<pre><code>C#\n\/\/ switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc758 \uacb0\ud569 \uc608\uc81c\nobject dataObject = 42;\nstring resultCombined = dataObject switch\n{\n    int n when n &gt; 0 =&gt; $\"{n}\ub294 \uc591\uc218\uc785\ub2c8\ub2e4.\",\n    int n when n &lt; 0 =&gt; $\"{n}\ub294 \uc74c\uc218\uc785\ub2c8\ub2e4.\",\n    null =&gt; \"\uac12\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.\",\n    _ =&gt; \"\uc54c \uc218 \uc5c6\ub294 \ud0c0\uc785\uc785\ub2c8\ub2e4.\"\n};\nConsole.WriteLine(resultCombined); \/\/ \ucd9c\ub825: 42\ub294 \uc591\uc218\uc785\ub2c8\ub2e4.\n<\/code><\/pre>\n<h2>4. \uacb0\ub860<\/h2>\n<p>\n        C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5, \ud2b9\ud788 switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc744 \ud65c\uc6a9\ud558\uba74 \ub354\uc6b1 \uac04\uacb0\ud558\uace0 \uac00\ub3c5\uc131\uc774 \ub192\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774\ub7ec\ud55c \uae30\ub2a5\ub4e4\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \ub354 \uc801\uc740 \ucf54\ub4dc\ub85c \ub354 \ub9ce\uc740 \uc77c\uc744 \ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\uba70, \ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc758 \uc694\uad6c \uc0ac\ud56d\uc5d0<br \/>\n        \uc798 \ubd80\ud569\ud569\ub2c8\ub2e4. \uc2e4\uc81c \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c \uc774\ub7ec\ud55c \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud568\uc73c\ub85c\uc368 \ucf54\ub4dc\uc758 \uad6c\uc870\ub97c \uac1c\uc120\ud558\uace0, \uac1c\ubc1c \uc0dd\uc0b0\uc131\uc744 \ub192\uc774\ub294 \ub370<br \/>\n        \uae30\uc5ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. C#\uc744 \uc0ac\uc6a9\ud558\ub294 \ubaa8\ub4e0 \uac1c\ubc1c\uc790\ub4e4\uc5d0\uac8c \uc774\ub7ec\ud55c \uae30\ub2a5\ub4e4\uc744 \uc801\uadf9\uc801\uc73c\ub85c \ud65c\uc6a9\ud574 \ubcf4\uae30\ub97c \uad8c\uc7a5\ud569\ub2c8\ub2e4.\n    <\/p>\n<h2>\ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/docs.microsoft.com\/ko-kr\/dotnet\/csharp\/language-reference\/operators\/switch-expression\">C# switch \ud45c\ud604\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/ko-kr\/dotnet\/csharp\/language-reference\/operators\/patterns\">C# \ud328\ud134 \ub9e4\uce6d \ubb38\uc11c<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C#\uc740 \ud604\uc7ac \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \ub9e4\uc6b0 \uc778\uae30\uac00 \ub192\uace0 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \ud2b9\ud788, C#\uc758 \ucd5c\uc2e0 \ubc84\uc804\uc5d0\uc11c\ub294 \ub9ce\uc740 \uae30\ub2a5\uc774 \ucd94\uac00\ub418\uc5b4 \uac1c\ubc1c\uc790\ub4e4\uc774 \ucf54\ub4dc \uc791\uc131 \uc2dc \ub354 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc5c5\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \uc911, \ud2b9\ud788 switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. switch \ud45c\ud604\uc2dd \uc18c\uac1c switch \ud45c\ud604\uc2dd\uc740 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c \uae30\ub2a5\uc73c\ub85c, \uae30\uc874\uc758 switch \ubb38\ubcf4\ub2e4 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/42690\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[241],"tags":[],"class_list":["post-42690","post","type-post","status-publish","format-standard","hentry","category-csharp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/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:\/\/atmokpo.com\/w\/42690\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"C#\uc740 \ud604\uc7ac \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \ub9e4\uc6b0 \uc778\uae30\uac00 \ub192\uace0 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \ud2b9\ud788, C#\uc758 \ucd5c\uc2e0 \ubc84\uc804\uc5d0\uc11c\ub294 \ub9ce\uc740 \uae30\ub2a5\uc774 \ucd94\uac00\ub418\uc5b4 \uac1c\ubc1c\uc790\ub4e4\uc774 \ucf54\ub4dc \uc791\uc131 \uc2dc \ub354 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc5c5\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \uc911, \ud2b9\ud788 switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. switch \ud45c\ud604\uc2dd \uc18c\uac1c switch \ud45c\ud604\uc2dd\uc740 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c \uae30\ub2a5\uc73c\ub85c, \uae30\uc874\uc758 switch \ubb38\ubcf4\ub2e4 &hellip; \ub354 \ubcf4\uae30 &quot;[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/42690\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-13T20:47:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:34:45+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/42690\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42690\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\",\"datePublished\":\"2024-11-13T20:47:54+00:00\",\"dateModified\":\"2024-11-26T06:34:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42690\/\"},\"wordCount\":23,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"csharp\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/42690\/\",\"url\":\"https:\/\/atmokpo.com\/w\/42690\/\",\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-13T20:47:54+00:00\",\"dateModified\":\"2024-11-26T06:34:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42690\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/42690\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/42690\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/42690\/","og_locale":"ko_KR","og_type":"article","og_title":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"C#\uc740 \ud604\uc7ac \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \ub9e4\uc6b0 \uc778\uae30\uac00 \ub192\uace0 \uac15\ub825\ud55c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc785\ub2c8\ub2e4. \ud2b9\ud788, C#\uc758 \ucd5c\uc2e0 \ubc84\uc804\uc5d0\uc11c\ub294 \ub9ce\uc740 \uae30\ub2a5\uc774 \ucd94\uac00\ub418\uc5b4 \uac1c\ubc1c\uc790\ub4e4\uc774 \ucf54\ub4dc \uc791\uc131 \uc2dc \ub354 \ud6a8\uc728\uc801\uc73c\ub85c \uc791\uc5c5\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \uc911, \ud2b9\ud788 switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. switch \ud45c\ud604\uc2dd \uc18c\uac1c switch \ud45c\ud604\uc2dd\uc740 C# 8.0\uc5d0\uc11c \ub3c4\uc785\ub41c \uae30\ub2a5\uc73c\ub85c, \uae30\uc874\uc758 switch \ubb38\ubcf4\ub2e4 &hellip; \ub354 \ubcf4\uae30 \"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d\"","og_url":"https:\/\/atmokpo.com\/w\/42690\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-13T20:47:54+00:00","article_modified_time":"2024-11-26T06:34:45+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/42690\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/42690\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d","datePublished":"2024-11-13T20:47:54+00:00","dateModified":"2024-11-26T06:34:45+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/42690\/"},"wordCount":23,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["csharp"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/42690\/","url":"https:\/\/atmokpo.com\/w\/42690\/","name":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-13T20:47:54+00:00","dateModified":"2024-11-26T06:34:45+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/42690\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/42690\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/42690\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[\uac1d\uccb4\uc9c0\ud5a5] 2.C# \ucd5c\uc2e0 \ubb38\ubc95\uacfc \uae30\ub2a5 \ud65c\uc6a9, switch \ud45c\ud604\uc2dd\uacfc \ud328\ud134 \ub9e4\uce6d"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=42690"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42690\/revisions"}],"predecessor-version":[{"id":42772,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42690\/revisions\/42772"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=42690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=42690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=42690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}