{"id":1431,"date":"2025-03-04T00:21:30","date_gmt":"2025-03-03T16:21:30","guid":{"rendered":"http:\/\/codermr.com\/?p=1431"},"modified":"2025-03-04T00:33:08","modified_gmt":"2025-03-03T16:33:08","slug":"java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/","title":{"rendered":"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b"},"content":{"rendered":"\n<p>\u6bcf\u4e2a Java \u7a0b\u5e8f\u5458\u90fd\u5e94\u8be5\u77e5\u9053\uff0cJava\u4e2d\u7684\u6cdb\u578b\u662f\u201d\u4f2a\u6cdb\u578b\u201c\uff0c\u662f\u4e3a\u4e86\u517c\u5bb9 JDK1.5 \u4e4b\u524d\u7684\u4ee3\u7801\u800c\u91c7\u7528\u201d\u7c7b\u578b\u64e6\u9664\u201c\u8fd9\u79cd\u65b9\u5f0f\u5b9e\u73b0\u7684\u201d\u4f2a\u6cdb\u578b\u201c\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u5173\u4e8e Java \u4e3a\u4ec0\u4e48\u8981\u91c7\u7528\u7c7b\u578b\u64e6\u9664\u800c\u4e0d\u662f\u5b9e\u73b0\u771f\u6b63\u7684\u6cdb\u578b\uff0c\u6211\u6709\u65f6\u95f4\u518d\u5199\u6587\u7ae0\u8bf4\u660e<\/mark>\uff0c\u56e0\u4e3a\u73b0\u5728\u5df2\u7ecf 2025\u5e743\u67084\u65e5 00:15:03 \u4e86\uff0c\u8d76\u7d27\u5199\u7bc7\u77ed\u7684\u535a\u5ba2\uff0c\u7136\u540e\u7761\u89c9\u4e86\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u77e5\u9053\uff0c\u5728 Java \u4e2d\u4f60\u5b9a\u4e49\u7684\u6cdb\u578b\u4e2d\u7684\u7c7b\u578b\uff0c\u5728\u7f16\u8bd1\u4e4b\u540e\u5c31\u4e0d\u5b58\u5728\u4e86\u3002<\/p>\n\n\n\n<p>\u90a3\u4e48 C# \u4e2d\u7684\u6cdb\u578b\u662f\u600e\u6837\u7684\u5462\uff1f\u5b83\u4eec\u4e4b\u95f4\u7684\u533a\u522b\u662f\u4ec0\u4e48\u5462 \uff1f\u5b83\u4eec\u4e4b\u95f4\u4e3b\u8981\u7684\u533a\u522b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5173\u952e\u533a\u522b\u603b\u7ed3<\/h3>\n\n\n\n<ol start=\"1\">\n<li><strong>\u7c7b\u578b\u64e6\u9664<\/strong>:\n<ul>\n<li>Java \u7684\u6cdb\u578b\u5728\u7f16\u8bd1\u65f6\u8fdb\u884c\u7c7b\u578b\u64e6\u9664\uff0c\u8fd0\u884c\u65f6\u65e0\u6cd5\u83b7\u53d6\u6cdb\u578b\u7c7b\u578b\u4fe1\u606f\u3002<\/li>\n\n\n\n<li>C# \u7684\u6cdb\u578b\u5728\u8fd0\u884c\u65f6\u4fdd\u7559\u7c7b\u578b\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u503c\u7c7b\u578b\u652f\u6301<\/strong>:\n<ul>\n<li>Java \u7684\u6cdb\u578b\u4e0d\u652f\u6301\u539f\u59cb\u7c7b\u578b\uff0c\u5fc5\u987b\u4f7f\u7528\u5305\u88c5\u7c7b\u3002<\/li>\n\n\n\n<li>C# \u7684\u6cdb\u578b\u652f\u6301\u539f\u59cb\u7c7b\u578b\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u534f\u53d8\u548c\u9006\u53d8<\/strong>:\n<ul>\n<li>Java \u901a\u8fc7\u901a\u914d\u7b26\u5b9e\u73b0\u6709\u9650\u7684\u534f\u53d8\u548c\u9006\u53d8\u3002<\/li>\n\n\n\n<li>C# \u901a\u8fc7&nbsp;<code>out<\/code>&nbsp;\u548c&nbsp;<code>in<\/code>&nbsp;\u5173\u952e\u5b57\u5b9e\u73b0\u66f4\u7075\u6d3b\u7684\u534f\u53d8\u548c\u9006\u53d8\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u6765\u76f4\u63a5\u770b\u4e2a\u4f8b\u5b50\uff0c\u770b\u4e00\u4e0b C# \u4e2d\u7684\u771f\u6cdb\u578b\uff1a<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>   public class Test_Generic2 {\n       public static void run() {\n           \/\/ \u521b\u5efa\u4e00\u4e2a\u6cdb\u578b\u7c7b\u7684\u5b9e\u4f8b\uff0c\u7c7b\u578b\u53c2\u6570\u4e3a int\n           var intContainer = new Container&lt;int&gt;(42);\n           intContainer.PrintType();\n\n           \/\/ \u521b\u5efa\u53e6\u4e00\u4e2a\u6cdb\u578b\u7c7b\u7684\u5b9e\u4f8b\uff0c\u7c7b\u578b\u53c2\u6570\u4e3a string\n           var stringContainer = new Container&lt;string&gt;(\"Hello, Generics!\");\n           stringContainer.PrintType();\n       }\n   }\n\n   \/\/ \u5b9a\u4e49\u4e00\u4e2a\u6cdb\u578b\u7c7b\n   class Container&lt;T&gt; {\n       private T _value;\n\n       public Container(T value) {\n           _value = value;\n       }\n\n       \/\/ \u6253\u5370\u6cdb\u578b\u7c7b\u578b\u7684\u4fe1\u606f\n       public void PrintType() {\n           \/\/ \u83b7\u53d6\u6cdb\u578b\u7c7b\u578b T \u7684\u7c7b\u578b\u4fe1\u606f\n           Type type = typeof(T);\n           Debug.WriteLine($\"Type of T: {type}\");\n           Debug.WriteLine($\"Value: {_value}\");\n       }\n   }<\/code><\/pre>\n\n\n\n<p>\u800c\u8f93\u51fa\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"254\" height=\"64\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image.png\" alt=\"\" class=\"wp-image-1432\"\/><\/a><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u5728 C# \u4e2d\u4f60\u5b9a\u4e49\u7684\u6cdb\u578b\uff0c\u5728\u7a0b\u5e8f\u8fd0\u884c\u9636\u6bb5\u662f\u53ef\u4ee5\u62ff\u5230\u5143\u7d20\u771f\u6b63\u7684\u7c7b\u578b\u7684\uff01<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6bcf\u4e2a Java \u7a0b\u5e8f\u5458\u90fd\u5e94\u8be5\u77e5\u9053\uff0cJava\u4e2d\u7684\u6cdb\u578b\u662f\u201d\u4f2a\u6cdb\u578b\u201c\uff0c\u662f\u4e3a\u4e86\u517c\u5bb9 JDK1.5 \u4e4b\u524d\u7684\u4ee3\u7801\u800c\u91c7\u7528\u201d\u7c7b&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[60],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java\u4e2d\u6cdb\u578b\u548cc\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u6bcf\u4e2a Java \u7a0b\u5e8f\u5458\u90fd\u5e94\u8be5\u77e5\u9053\uff0cJava\u4e2d\u7684\u6cdb\u578b\u662f\u201d\u4f2a\u6cdb\u578b\u201c\uff0c\u662f\u4e3a\u4e86\u517c\u5bb9 JDK1.5 \u4e4b\u524d\u7684\u4ee3\u7801\u800c\u91c7\u7528\u201d\u7c7b...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java\u4e2d\u6cdb\u578b\u548cc\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-03T16:21:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-03T16:33:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/csharp1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"489\" \/>\n\t<meta property=\"og:image:height\" content=\"468\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b\",\"datePublished\":\"2025-03-03T16:21:30+00:00\",\"dateModified\":\"2025-03-03T16:33:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/\"},\"wordCount\":20,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"keywords\":[\"csharp\"],\"articleSection\":[\"C#\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/\",\"name\":\"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2025-03-03T16:21:30+00:00\",\"dateModified\":\"2025-03-03T16:33:08+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b - \u7801\u5148\u751f\u7684\u535a\u5ba2","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":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java\u4e2d\u6cdb\u578b\u548cc\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b\/","og_locale":"zh_CN","og_type":"article","og_title":"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"\u6bcf\u4e2a Java \u7a0b\u5e8f\u5458\u90fd\u5e94\u8be5\u77e5\u9053\uff0cJava\u4e2d\u7684\u6cdb\u578b\u662f\u201d\u4f2a\u6cdb\u578b\u201c\uff0c\u662f\u4e3a\u4e86\u517c\u5bb9 JDK1.5 \u4e4b\u524d\u7684\u4ee3\u7801\u800c\u91c7\u7528\u201d\u7c7b...","og_url":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java\u4e2d\u6cdb\u578b\u548cc\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2025-03-03T16:21:30+00:00","article_modified_time":"2025-03-03T16:33:08+00:00","og_image":[{"width":489,"height":468,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/csharp1.png","type":"image\/png"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b","datePublished":"2025-03-03T16:21:30+00:00","dateModified":"2025-03-03T16:33:08+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/"},"wordCount":20,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"keywords":["csharp"],"articleSection":["C#"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/","url":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/","name":"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2025-03-03T16:21:30+00:00","dateModified":"2025-03-03T16:33:08+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/04\/java%e4%b8%ad%e6%b3%9b%e5%9e%8b%e5%92%8cc%e4%b8%ad%e7%9a%84%e6%b3%9b%e5%9e%8b%e4%b9%8b%e5%8c%ba%e5%88%ab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"Java\u4e2d\u6cdb\u578b\u548cC#\u4e2d\u7684\u6cdb\u578b\u4e4b\u533a\u522b"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1431"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1431"}],"version-history":[{"count":3,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1431\/revisions"}],"predecessor-version":[{"id":1436,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1431\/revisions\/1436"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1433"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1431"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}