{"id":21884,"date":"2025-06-27T09:30:00","date_gmt":"2025-06-27T00:30:00","guid":{"rendered":"https:\/\/itport.cloud\/?p=21884"},"modified":"2025-06-24T18:21:42","modified_gmt":"2025-06-24T09:21:42","slug":"post-21884","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=21884","title":{"rendered":"\u3010Visual Studio\u3011 C#\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u3067\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u3092\u4f5c\u308d\u3046"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\">\u76ee\u6b21<\/h2>\n\n\n\n<p><a href=\"#1\" data-type=\"internal\" data-id=\"#1\">\u306f\u3058\u3081\u306b<\/a><br><a href=\"#2\" data-type=\"internal\" data-id=\"#2\">\u5b66\u7fd2\u76ee\u6a19<\/a><br><a href=\"#3\" data-type=\"internal\" data-id=\"#3\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/a><br><a href=\"#4\" data-type=\"internal\" data-id=\"#4\">\u30b3\u30fc\u30c9\u306e\u89e3\u8aac<\/a><br> <a href=\"#5\" data-type=\"internal\" data-id=\"#5\">\u62e1\u5f35\u7248\uff1a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3088\u3046 <\/a><br> <a href=\"#6\" data-type=\"internal\" data-id=\"#6\">\u8ffd\u52a0\u6a5f\u80fd\u306e\u89e3\u8aac <\/a><br><a href=\"#7\" data-type=\"internal\" data-id=\"#7\">\u307e\u3068\u3081<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u3001Visual Studio\u3092\u4f7f\u3063\u3066C#\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u300c\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u300d\u3092\u4f5c\u6210\u3057\u307e\u3059<br>\u3053\u306e\u30b2\u30fc\u30e0\u306f\u3001\u30e9\u30f3\u30c0\u30e0\u306b\u6c7a\u5b9a\u3055\u308c\u305f1\u304b\u3089100\u307e\u3067\u306e\u6570\u5b57\u3092\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u4e88\u60f3\u3057\u3066\u5f53\u3066\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30b2\u30fc\u30e0\u3067\u3059<br>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001\u4e00\u3064\u3072\u3068\u3064\u306e\u51e6\u7406\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2\">\u5b66\u7fd2\u76ee\u6a19<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u7d42\u3048\u308b\u9803\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059<\/li><li><strong>Visual Studio\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/li><li><strong>\u4e71\u6570\u751f\u6210\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b<\/strong><\/li><li><strong>\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u53d7\u3051\u53d6\u308a\u3068\u691c\u8a3c\u51e6\u7406\u3092\u5b9f\u88c5\u3059\u308b<\/strong><\/li><li><strong>\u6761\u4ef6\u5206\u5c90\uff08if\u6587\uff09\u3092\u6d3b\u7528\u3057\u305f\u5224\u5b9a\u51e6\u7406\u3092\u4f5c\u6210\u3059\u308b<\/strong><\/li><li><strong>\u30eb\u30fc\u30d7\u51e6\u7406\uff08while\u6587\uff09\u3067\u30b2\u30fc\u30e0\u3092\u7d99\u7d9a\u3055\u305b\u308b<\/strong><\/li><li><strong>\u4f8b\u5916\u51e6\u7406\u3067\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3092\u884c\u3046<\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"3\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"1-visual-studioe381aee8b5b7e58b95e381a8e38397e383ade382b8e382a7e382afe38388e4bd9ce68890-2\">1.Visual Studio\u306e\u8d77\u52d5\u3068\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/h5>\n\n\n\n<ol class=\"wp-block-list\"><li>Visual Studio\u3092\u8d77\u52d5\u3057\u307e\u3059<\/li><li>\u300c\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li><li>\u300c\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u300d\u3092\u9078\u629e\uff08C#\uff09<\/li><li>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3092\u300cNumberGuessingGame\u300d\u306b\u8a2d\u5b9a<\/li><li>\u5834\u6240\u3092\u4efb\u610f\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u6307\u5b9a<\/li><li>\u300c\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"244\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-1024x244.png\" alt=\"\" class=\"wp-image-21885\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-1024x244.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-300x71.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-768x183.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-1536x366.png 1536w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-450x107.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331-900x214.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165331.png 1561w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"464\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165501.png\" alt=\"\" class=\"wp-image-21886\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165501.png 630w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165501-300x221.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-165501-434x320.png 434w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"2-e5889de69c9fe382b3e383bce38389e381aee7a2bae8aa8d-3\">2.\u521d\u671f\u30b3\u30fc\u30c9\u306e\u78ba\u8a8d<\/h5>\n\n\n\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001Program.cs\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u304c\u81ea\u52d5\u751f\u6210\u3055\u308c\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp\/\/ See https:\/\/aka.ms\/new-console-template for more information\r\nConsole.WriteLine(\"Hello, World!\");<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u3066\u3001\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066\u3044\u304d\u307e\u3059<br><strong>\u57fa\u672c\u7248\u306e\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u5b9f\u88c5<\/strong><br>\u307e\u305a\u306f\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046<br>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using System;\n\nnamespace NumberGuessingGame\n{\n    class Program\n    {\n        static void Main(string&#91;] args)\n        {\n            \/\/ \u30b2\u30fc\u30e0\u306e\u8aac\u660e\n            Console.WriteLine(\"=== \u6570\u5f53\u3066\u30b2\u30fc\u30e0 ===\");\n            Console.WriteLine(\"1\u304b\u3089100\u307e\u3067\u306e\u6570\u5b57\u3092\u5f53\u3066\u3066\u304f\u3060\u3055\u3044\uff01\");\n            Console.WriteLine();\n\n            \/\/ \u4e71\u6570\u751f\u6210\u5668\u306e\u4f5c\u6210\n            Random random = new Random();\n            int targetNumber = random.Next(1, 101); \/\/ 1\u304b\u3089100\u307e\u3067\u306e\u4e71\u6570\n            \n            int attempts = 0; \/\/ \u8a66\u884c\u56de\u6570\n            bool isCorrect = false; \/\/ \u6b63\u89e3\u30d5\u30e9\u30b0\n\n            \/\/ \u30b2\u30fc\u30e0\u306e\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\n            while (!isCorrect)\n            {\n                attempts++;\n                Console.Write($\"{attempts}\u56de\u76ee\u306e\u4e88\u60f3\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \");\n                \n                \/\/ \u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u53d6\u5f97\n                string input = Console.ReadLine();\n                \n                \/\/ \u5165\u529b\u5024\u306e\u6570\u5024\u5909\u63db\n                if (int.TryParse(input, out int guess))\n                {\n                    \/\/ \u4e88\u60f3\u3068\u6b63\u89e3\u306e\u6bd4\u8f03\n                    if (guess == targetNumber)\n                    {\n                        Console.WriteLine($\"\u6b63\u89e3\u3067\u3059\uff01\u7b54\u3048\u306f {targetNumber} \u3067\u3057\u305f\uff01\");\n                        Console.WriteLine($\"{attempts} \u56de\u3067\u6b63\u89e3\u3057\u307e\u3057\u305f\uff01\");\n                        isCorrect = true;\n                    }\n                    else if (guess &lt; targetNumber)\n                    {\n                        Console.WriteLine(\"\u3082\u3063\u3068\u5927\u304d\u3044\u6570\u5b57\u3067\u3059\u3002\");\n                    }\n                    else\n                    {\n                        Console.WriteLine(\"\u3082\u3063\u3068\u5c0f\u3055\u3044\u6570\u5b57\u3067\u3059\u3002\");\n                    }\n                }\n                else\n                {\n                    Console.WriteLine(\"\u6709\u52b9\u306a\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n                    attempts--; \/\/ \u7121\u52b9\u306a\u5165\u529b\u306f\u8a66\u884c\u56de\u6570\u306b\u542b\u3081\u306a\u3044\n                }\n                \n                Console.WriteLine();\n            }\n\n            Console.WriteLine(\"\u30b2\u30fc\u30e0\u7d42\u4e86\uff01\u4f55\u304b\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n            Console.ReadKey();\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u30b3\u30fc\u30c9\u304c\u66f8\u3051\u305f\u3089\u30c7\u30d0\u30c3\u30af\u3057\u3066\u307f\u307e\u3059<br>\u30c7\u30d0\u30c3\u30af\u306b\u6210\u529f\u3059\u308b\u3068\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u304c\u59cb\u307e\u308a\u307e\u3059<br>\u307e\u305a\u306f\u9069\u5f53\u306a\u6570\u5b57\u3092\u5165\u529b\u3057Enter\u30ad\u30fc\u3092\u62bc\u3059\u3068\u5165\u529b\u3057\u305f\u6570\u5b57\u3088\u308a\u5927\u304d\u3044\u304b\u5c0f\u3055\u3044\u304b\u30d2\u30f3\u30c8\u304c\u51fa\u307e\u3059<br>\u30d2\u30f3\u30c8\u3092\u3082\u3068\u306b\u6b63\u89e3\u306e\u6570\u5b57\u3092\u5f53\u3066\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30b2\u30fc\u30e0\u304c\u51fa\u6765\u307e\u3057\u305f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"477\" height=\"399\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-170626.png\" alt=\"\" class=\"wp-image-21887\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-170626.png 477w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-170626-300x251.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-170626-383x320.png 383w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4\">\u30b3\u30fc\u30c9\u306e\u89e3\u8aac<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"e4b9b1e695b0e7949fe68890e983a8e58886-4\">\u4e71\u6570\u751f\u6210\u90e8\u5206<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp<code>Random random = new Random();\nint targetNumber = random.Next(1, 101);<\/code><\/code><\/pre>\n\n\n\n<p><strong>Random \u30af\u30e9\u30b9<\/strong>: \u7591\u4f3c\u4e71\u6570\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u3067\u3059\u3002<br><strong>Next(1, 101)<\/strong>: 1\u4ee5\u4e0a101\u672a\u6e80\uff08\u3064\u307e\u308a1\u304b\u3089100\u307e\u3067\uff09\u306e\u6574\u6570\u3092\u751f\u6210\u3057\u307e\u3059<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"e383a6e383bce382b6e383bce585a5e58a9be587a6e79086-5\">\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u51e6\u7406<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp<code>string input = Console.ReadLine();\nif (int.TryParse(input, out int guess))<\/code><\/code><\/pre>\n\n\n\n<p><strong>Console.ReadLine()<\/strong>: \u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u5165\u529b\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u307e\u3059<br><strong>int.TryParse()<\/strong>: \u6587\u5b57\u5217\u3092\u6574\u6570\u306b\u5909\u63db\u3092\u8a66\u307f\u307e\u3059\u3002\u5909\u63db\u306b\u6210\u529f\u3057\u305f\u5834\u5408\u306ftrue\u3092\u8fd4\u3057\u3001\u5931\u6557\u3057\u305f\u5834\u5408\u306ffalse\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4e0d\u6b63\u306a\u5165\u529b\u306b\u5bfe\u3059\u308b\u4f8b\u5916\u51e6\u7406\u3092\u5b89\u5168\u306b\u884c\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"e69da1e4bbb6e58886e5b290e381abe38288e3828be588a4e5ae9a-6\">\u6761\u4ef6\u5206\u5c90\u306b\u3088\u308b\u5224\u5b9a<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp<code>if (guess == targetNumber)\n{\n    <em>\/\/ \u6b63\u89e3\u51e6\u7406<\/em>\n}\nelse if (guess &lt; targetNumber)\n{\n    <em>\/\/ \u6570\u5b57\u304c\u5c0f\u3055\u3044\u5834\u5408<\/em>\n}\nelse\n{\n    <em>\/\/ \u6570\u5b57\u304c\u5927\u304d\u3044\u5834\u5408<\/em>\n}<\/code><\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u4e09\u6bb5\u968e\u306e\u6761\u4ef6\u5206\u5c90\u306b\u3088\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u4e88\u60f3\u306b\u5bfe\u3057\u3066\u9069\u5207\u306a\u30d2\u30f3\u30c8\u3092\u63d0\u4f9b\u3057\u307e\u3059<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"5\">\u62e1\u5f35\u7248\uff1a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3088\u3046<\/h2>\n\n\n\n<p>\u57fa\u672c\u7248\u304c\u51fa\u6765\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u30b2\u30fc\u30e0\u3092\u3088\u308a\u697d\u3057\u304f\u3057\u3066\u307f\u307e\u3057\u3087\u3046<br><strong>\u62e1\u5f35\u7248\u306e\u5b8c\u5168\u306a\u30b3\u30fc\u30c9<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>using System;\n\nnamespace NumberGuessingGame\n{\n    class Program\n    {\n        static void Main(string&#91;] args)\n        {\n            bool playAgain = true;\n            \n            while (playAgain)\n            {\n                PlayGame();\n                \n                Console.WriteLine(\"\\n\u3082\u3046\u4e00\u5ea6\u30d7\u30ec\u30a4\u3057\u307e\u3059\u304b\uff1f (y\/n): \");\n                string response = Console.ReadLine().ToLower();\n                playAgain = (response == \"y\" || response == \"yes\");\n                \n                Console.Clear(); \/\/ \u753b\u9762\u3092\u30af\u30ea\u30a2\n            }\n            \n            Console.WriteLine(\"\u30b2\u30fc\u30e0\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\uff01\");\n            Console.ReadKey();\n        }\n        \n        static void PlayGame()\n        {\n            \/\/ \u30b2\u30fc\u30e0\u306e\u8aac\u660e\n            Console.WriteLine(\"\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\");\n            Console.WriteLine(\"\u2551         \u6570\u5f53\u3066\u30b2\u30fc\u30e0              \u2551\");\n            Console.WriteLine(\"\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255d\");\n            Console.WriteLine();\n            \n            \/\/ \u96e3\u6613\u5ea6\u9078\u629e\n            int maxNumber = SelectDifficulty();\n            \n            \/\/ \u4e71\u6570\u751f\u6210\n            Random random = new Random();\n            int targetNumber = random.Next(1, maxNumber + 1);\n            \n            int attempts = 0;\n            int maxAttempts = CalculateMaxAttempts(maxNumber);\n            bool isCorrect = false;\n            \n            Console.WriteLine($\"1\u304b\u3089{maxNumber}\u307e\u3067\u306e\u6570\u5b57\u3092{maxAttempts}\u56de\u4ee5\u5185\u3067\u5f53\u3066\u3066\u304f\u3060\u3055\u3044\uff01\");\n            Console.WriteLine();\n            \n            \/\/ \u30b2\u30fc\u30e0\u306e\u30e1\u30a4\u30f3\u30eb\u30fc\u30d7\n            while (!isCorrect &amp;&amp; attempts &lt; maxAttempts)\n            {\n                attempts++;\n                Console.Write($\"\u6b8b\u308a{maxAttempts - attempts + 1}\u56de - \u4e88\u60f3\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \");\n                \n                string input = Console.ReadLine();\n                \n                if (int.TryParse(input, out int guess))\n                {\n                    \/\/ \u5165\u529b\u7bc4\u56f2\u30c1\u30a7\u30c3\u30af\n                    if (guess &lt; 1 || guess > maxNumber)\n                    {\n                        Console.WriteLine($\"1\u304b\u3089{maxNumber}\u307e\u3067\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n                        attempts--; \/\/ \u7121\u52b9\u306a\u5165\u529b\u306f\u8a66\u884c\u56de\u6570\u306b\u542b\u3081\u306a\u3044\n                        continue;\n                    }\n                    \n                    \/\/ \u4e88\u60f3\u3068\u6b63\u89e3\u306e\u6bd4\u8f03\n                    if (guess == targetNumber)\n                    {\n                        Console.WriteLine(\"? \u6b63\u89e3\u3067\u3059\uff01 ?\");\n                        Console.WriteLine($\"\u7b54\u3048\u306f {targetNumber} \u3067\u3057\u305f\uff01\");\n                        Console.WriteLine($\"{attempts} \u56de\u3067\u6b63\u89e3\u3057\u307e\u3057\u305f\uff01\");\n                        \n                        \/\/ \u30b9\u30b3\u30a2\u8a55\u4fa1\n                        EvaluateScore(attempts, maxAttempts);\n                        isCorrect = true;\n                    }\n                    else\n                    {\n                        \/\/ \u30d2\u30f3\u30c8\u306e\u8868\u793a\n                        string hint = GetHint(guess, targetNumber, maxNumber);\n                        Console.WriteLine(hint);\n                        \n                        \/\/ \u6e29\u5ea6\u30d2\u30f3\u30c8\uff08\u8fd1\u3055\u3092\u8868\u73fe\uff09\n                        string temperatureHint = GetTemperatureHint(guess, targetNumber);\n                        Console.WriteLine(temperatureHint);\n                    }\n                }\n                else\n                {\n                    Console.WriteLine(\"\u6709\u52b9\u306a\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n                    attempts--;\n                }\n                \n                Console.WriteLine();\n            }\n            \n            \/\/ \u30b2\u30fc\u30e0\u7d42\u4e86\u6642\u306e\u51e6\u7406\n            if (!isCorrect)\n            {\n                Console.WriteLine(\"? \u6b8b\u5ff5\uff01\u56de\u6570\u5236\u9650\u306b\u9054\u3057\u307e\u3057\u305f\u3002\");\n                Console.WriteLine($\"\u6b63\u89e3\u306f {targetNumber} \u3067\u3057\u305f\u3002\");\n            }\n        }\n        \n        static int SelectDifficulty()\n        {\n            Console.WriteLine(\"\u96e3\u6613\u5ea6\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044:\");\n            Console.WriteLine(\"1. \u7c21\u5358 (1-50)\");\n            Console.WriteLine(\"2. \u666e\u901a (1-100)\");\n            Console.WriteLine(\"3. \u96e3\u3057\u3044 (1-500)\");\n            Console.WriteLine(\"4. \u8d85\u96e3\u3057\u3044 (1-1000)\");\n            Console.Write(\"\u9078\u629e (1-4): \");\n            \n            while (true)\n            {\n                string input = Console.ReadLine();\n                switch (input)\n                {\n                    case \"1\":\n                        Console.WriteLine(\"\u7c21\u5358\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 50;\n                    case \"2\":\n                        Console.WriteLine(\"\u666e\u901a\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 100;\n                    case \"3\":\n                        Console.WriteLine(\"\u96e3\u3057\u3044\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 500;\n                    case \"4\":\n                        Console.WriteLine(\"\u8d85\u96e3\u3057\u3044\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 1000;\n                    default:\n                        Console.Write(\"1\u304b\u30894\u307e\u3067\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \");\n                        break;\n                }\n            }\n        }\n        \n        static int CalculateMaxAttempts(int maxNumber)\n        {\n            \/\/ 2\u9032\u63a2\u7d22\u306e\u7406\u8ad6\u5024 + \u4f59\u88d5\u3092\u6301\u305f\u305b\u308b\n            return (int)Math.Ceiling(Math.Log2(maxNumber)) + 3;\n        }\n        \n        static string GetHint(int guess, int target, int maxNumber)\n        {\n            int difference = Math.Abs(guess - target);\n            double percentage = (double)difference \/ maxNumber * 100;\n            \n            if (guess &lt; target)\n            {\n                if (percentage > 50)\n                    return \"? \u3082\u3063\u3068\u5927\u304d\u3044\u6570\u5b57\u3067\u3059\uff08\u304b\u306a\u308a\u96e2\u308c\u3066\u3044\u307e\u3059\uff09\";\n                else if (percentage > 20)\n                    return \"? \u3082\u3063\u3068\u5927\u304d\u3044\u6570\u5b57\u3067\u3059\uff08\u307e\u3042\u307e\u3042\u96e2\u308c\u3066\u3044\u307e\u3059\uff09\";\n                else if (percentage > 5)\n                    return \"? \u3082\u3063\u3068\u5927\u304d\u3044\u6570\u5b57\u3067\u3059\uff08\u5c11\u3057\u96e2\u308c\u3066\u3044\u307e\u3059\uff09\";\n                else\n                    return \"? \u3082\u3063\u3068\u5927\u304d\u3044\u6570\u5b57\u3067\u3059\uff08\u3068\u3066\u3082\u8fd1\u3044\u3067\u3059\uff01\uff09\";\n            }\n            else\n            {\n                if (percentage > 50)\n                    return \"? \u3082\u3063\u3068\u5c0f\u3055\u3044\u6570\u5b57\u3067\u3059\uff08\u304b\u306a\u308a\u96e2\u308c\u3066\u3044\u307e\u3059\uff09\";\n                else if (percentage > 20)\n                    return \"? \u3082\u3063\u3068\u5c0f\u3055\u3044\u6570\u5b57\u3067\u3059\uff08\u307e\u3042\u307e\u3042\u96e2\u308c\u3066\u3044\u307e\u3059\uff09\";\n                else if (percentage > 5)\n                    return \"? \u3082\u3063\u3068\u5c0f\u3055\u3044\u6570\u5b57\u3067\u3059\uff08\u5c11\u3057\u96e2\u308c\u3066\u3044\u307e\u3059\uff09\";\n                else\n                    return \"? \u3082\u3063\u3068\u5c0f\u3055\u3044\u6570\u5b57\u3067\u3059\uff08\u3068\u3066\u3082\u8fd1\u3044\u3067\u3059\uff01\uff09\";\n            }\n        }\n        \n        static string GetTemperatureHint(int guess, int target)\n        {\n            int difference = Math.Abs(guess - target);\n            \n            if (difference &lt;= 2)\n                return \"? \u8d85\u71b1\u3044\uff01\";\n            else if (difference &lt;= 5)\n                return \"?\ufe0f \u71b1\u3044\uff01\";\n            else if (difference &lt;= 10)\n                return \"? \u6e29\u304b\u3044\";\n            else if (difference &lt;= 20)\n                return \"? \u306c\u308b\u3044\";\n            else if (difference &lt;= 50)\n                return \"? \u51b7\u305f\u3044\";\n            else\n                return \"\u2744\ufe0f \u8d85\u51b7\u305f\u3044\";\n        }\n        \n        static void EvaluateScore(int attempts, int maxAttempts)\n        {\n            double percentage = (double)attempts \/ maxAttempts;\n            \n            if (percentage &lt;= 0.3)\n                Console.WriteLine(\"? \u7d20\u6674\u3089\u3057\u3044\uff01\u5929\u624d\u7684\u3067\u3059\uff01\");\n            else if (percentage &lt;= 0.5)\n                Console.WriteLine(\"? \u3068\u3066\u3082\u826f\u3044\u6210\u7e3e\u3067\u3059\uff01\");\n            else if (percentage &lt;= 0.7)\n                Console.WriteLine(\"? \u826f\u3044\u6210\u7e3e\u3067\u3059\uff01\");\n            else if (percentage &lt;= 0.9)\n                Console.WriteLine(\"? \u307e\u305a\u307e\u305a\u306e\u6210\u7e3e\u3067\u3059\u3002\");\n            else\n                Console.WriteLine(\"? \u6b21\u56de\u306f\u3082\u3063\u3068\u9811\u5f35\u308a\u307e\u3057\u3087\u3046\uff01\");\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306b\u4e0a\u66f8\u304d\u304c\u51fa\u6765\u308c\u3070\u518d\u5ea6\u30c7\u30d0\u30c3\u30af\u3092\u5b9f\u884c\u3057\u307e\u3059<br>\u5148\u307b\u3069\u3068\u306f\u9055\u3046\u753b\u9762\u3067\u96e3\u6613\u5ea6\u9078\u629e\u304b\u3089\u59cb\u307e\u308a\u307e\u3057\u305f<br>\u96e3\u6613\u5ea6\u3092\u9078\u629e\u3057\u305f\u5f8c\u306f\u5148\u307b\u3069\u540c\u69d8\u6570\u5b57\u3092\u5f53\u3066\u3066\u3044\u304d\u307e\u3059<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"386\" height=\"301\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174614.png\" alt=\"\" class=\"wp-image-21888\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174614.png 386w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174614-300x234.png 300w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"508\" height=\"623\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174843.png\" alt=\"\" class=\"wp-image-21890\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174843.png 508w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174843-245x300.png 245w, https:\/\/itport.cloud\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-24-174843-261x320.png 261w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"6\">\u8ffd\u52a0\u6a5f\u80fd\u306e\u89e3\u8aac<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"1-e99ba3e69893e5baa6e981b8e68a9ee6a99fe883bd-7\">1. \u96e3\u6613\u5ea6\u9078\u629e\u6a5f\u80fd<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp<code>static int SelectDifficulty()<\/code><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>static int SelectDifficulty()\n        {\n            Console.WriteLine(\"\u96e3\u6613\u5ea6\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044:\");\n            Console.WriteLine(\"1. \u7c21\u5358 (1-50)\");\n            Console.WriteLine(\"2. \u666e\u901a (1-100)\");\n            Console.WriteLine(\"3. \u96e3\u3057\u3044 (1-500)\");\n            Console.WriteLine(\"4. \u8d85\u96e3\u3057\u3044 (1-1000)\");\n            Console.Write(\"\u9078\u629e (1-4): \");\n            \n            while (true)\n            {\n                string input = Console.ReadLine();\n                switch (input)\n                {\n                    case \"1\":\n                        Console.WriteLine(\"\u7c21\u5358\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 50;\n                    case \"2\":\n                        Console.WriteLine(\"\u666e\u901a\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 100;\n                    case \"3\":\n                        Console.WriteLine(\"\u96e3\u3057\u3044\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 500;\n                    case \"4\":\n                        Console.WriteLine(\"\u8d85\u96e3\u3057\u3044\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\");\n                        return 1000;\n                    default:\n                        Console.Write(\"1\u304b\u30894\u307e\u3067\u306e\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \");\n                        break;\n                }\n            }<\/code><\/pre>\n\n\n\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u96e3\u6613\u5ea6\u3092\u9078\u629e\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002\u6570\u5b57\u306e\u7bc4\u56f2\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001\u30b2\u30fc\u30e0\u306e\u96e3\u6613\u5ea6\u3092\u8abf\u6574\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"2-e588b6e99990e59b9ee695b0e382b7e382b9e38386e383a0-8\">2. \u5236\u9650\u56de\u6570\u30b7\u30b9\u30c6\u30e0<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp<code>static int CalculateMaxAttempts(int maxNumber)\n{\n    return (int)Math.Ceiling(Math.Log2(maxNumber)) + 3;\n}<\/code><\/code><\/pre>\n\n\n\n<p>2\u9032\u63a2\u7d22\u306e\u7406\u8ad6\u5024\u3092\u57fa\u306b\u3001\u9069\u5207\u306a\u8a66\u884c\u56de\u6570\u5236\u9650\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b2\u30fc\u30e0\u306b\u30b9\u30ea\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"3-e8a9b3e7b4b0e381aae38392e383b3e38388e382b7e382b9e38386e383a0-9\">3. \u8a73\u7d30\u306a\u30d2\u30f3\u30c8\u30b7\u30b9\u30c6\u30e0<\/h5>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u8ddd\u96e2\u30d9\u30fc\u30b9\u306e\u30d2\u30f3\u30c8<\/strong>: \u4e88\u60f3\u3068\u6b63\u89e3\u306e\u5dee\u306b\u57fa\u3065\u3044\u3066\u30d2\u30f3\u30c8\u306e\u8a73\u7d30\u5ea6\u3092\u5909\u66f4<\/li><li><strong>\u6e29\u5ea6\u30d2\u30f3\u30c8<\/strong>: \u300c\u71b1\u3044\u300d\u300c\u51b7\u305f\u3044\u300d\u306a\u3069\u306e\u76f4\u611f\u7684\u306a\u8868\u73fe\u3067\u30d2\u30f3\u30c8\u3092\u63d0\u4f9b<\/li><\/ul>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"4-e382b9e382b3e382a2e8a995e4bea1e382b7e382b9e38386e383a0-10\">4. \u30b9\u30b3\u30a2\u8a55\u4fa1\u30b7\u30b9\u30c6\u30e0<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>csharp<code>static void EvaluateScore(int attempts, int maxAttempts)<\/code><\/code><\/pre>\n\n\n\n<p>\u8a66\u884c\u56de\u6570\u306b\u57fa\u3065\u3044\u3066\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u6210\u7e3e\u3092\u8a55\u4fa1\u3057\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"7\">\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4eca\u56de\u306f\u3001Visual Studio\u3067C#\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3063\u305f\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f<br>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u901a\u3058\u3066\u3001\u4ee5\u4e0b\u306e\u91cd\u8981\u306a\u6982\u5ff5\u3092\u5b66\u7fd2\u3067\u304d\u307e\u3057\u305f<\/li><li><strong>\u4e71\u6570\u751f\u6210: Random\u30af\u30e9\u30b9\u306e\u4f7f\u7528\u65b9\u6cd5<\/strong><\/li><li><strong>\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u51e6\u7406: Console.ReadLine()\u3068int.TryParse()\u306e\u6d3b\u7528<\/strong><\/li><li><strong>\u4f8b\u5916\u51e6\u7406: \u5b89\u5168\u306a\u578b\u5909\u63db\u3068\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0<\/strong><\/li><li><strong>\u30eb\u30fc\u30d7\u51e6\u7406: while\u6587\u3092\u4f7f\u3063\u305f\u7e70\u308a\u8fd4\u3057\u51e6\u7406<\/strong><\/li><li><strong>\u6761\u4ef6\u5206\u5c90: if-else\u6587\u3092\u4f7f\u3063\u305f\u5224\u5b9a\u51e6\u7406<\/strong><\/li><li><strong>\u30e1\u30bd\u30c3\u30c9\u5206\u5272: \u6a5f\u80fd\u3054\u3068\u306e\u30e1\u30bd\u30c3\u30c9\u5206\u5272\u306b\u3088\u308b\u30b3\u30fc\u30c9\u306e\u6574\u7406 <\/strong><br>\u3053\u306e\u57fa\u790e\u7684\u306a\u30b2\u30fc\u30e0\u3092\u4f5c\u6210\u3067\u304d\u308c\u3070\u3001\u3088\u308a\u8907\u96d1\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3078\u306e\u7b2c\u4e00\u6b69\u3068\u306a\u308a\u307e\u3059<br>\u305c\u3072\u69d8\u3005\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30b2\u30fc\u30e0\u306b\u767a\u5c55\u3055\u305b\u3066\u304f\u3060\u3055\u3044<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u306f\u3058\u3081\u306b\u5b66\u7fd2\u76ee\u6a19\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f5c\u6210\u30b3\u30fc\u30c9\u306e\u89e3\u8aac \u62e1\u5f35\u7248\uff1a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3088\u3046 \u8ffd\u52a0\u6a5f\u80fd\u306e\u89e3\u8aac \u307e\u3068\u3081 \u306f\u3058\u3081\u306b \u4eca\u56de\u306f\u3001Visual Studio\u3092\u4f7f\u3063\u3066C#\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u300c\u6570\u5f53\u3066\u30b2\u30fc\u30e0\u300d\u3092\u4f5c\u6210\u3057\u307e\u3059\u3053\u306e\u30b2\u30fc\u30e0\u306f\u3001\u30e9\u30f3\u30c0\u30e0\u306b\u6c7a\u5b9a\u3055\u308c\u305f1\u304b\u3089100\u307e\u3067\u306e\u6570\u5b57\u3092\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u4e88\u60f3\u3057\u3066\u5f53\u3066\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30b2\u30fc\u30e0\u3067\u3059\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001\u4e00\u3064\u3072\u3068\u3064\u306e\u51e6\u7406\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059 \u5b66\u7fd2\u76ee\u6a19 \u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u7d42\u3048\u308b\u9803\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059Visual Studio\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u4e71\u6570\u751f\u6210\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u53d7\u3051\u53d6\u308a\u3068\u691c\u8a3c\u51e6\u7406\u3092\u5b9f\u88c5\u3059\u308b&hellip;","protected":false},"author":38,"featured_media":21893,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[180],"tags":[40],"class_list":{"0":"post-21884","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-c","8":"tag-article"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/21884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21884"}],"version-history":[{"count":5,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/21884\/revisions"}],"predecessor-version":[{"id":21898,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/21884\/revisions\/21898"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/21893"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}