{"id":1940,"date":"2023-05-05T07:46:31","date_gmt":"2023-05-04T23:46:31","guid":{"rendered":"http:\/\/www.aiersheng.cc\/?p=1940"},"modified":"2024-07-31T11:49:07","modified_gmt":"2024-07-31T03:49:07","slug":"vs%e5%b0%bd%e9%87%8f%e8%b7%9f%e7%9d%80%e5%81%9a%ef%bc%8c%e5%ae%9e%e5%9c%a8%e9%85%8d%e7%bd%ae%e4%b8%8d%e5%87%ba%e6%9d%a5%e4%b9%9f%e6%b2%a1%e5%85%b3%e7%b3%bb%ef%bc%8c%e4%b8%8b%e4%b8%80%e8%8a%82","status":"publish","type":"post","link":"https:\/\/www.aiersheng.cc\/?p=1940","title":{"rendered":"vs,\u5c3d\u91cf\u8ddf\u7740\u505a\uff0c\u5b9e\u5728\u914d\u7f6e\u4e0d\u51fa\u6765\u4e5f\u6ca1\u5173\u7cfb\uff0c\u4e0b\u4e00\u8282\u5c31\u8bb2VS\u3002"},"content":{"rendered":"<p>\u5c3d\u91cf\u8ddf\u7740\u505a\uff0c\u5b9e\u5728\u914d\u7f6e\u4e0d\u51fa\u6765\u4e5f\u6ca1\u5173\u7cfb\uff0c\u4e0b\u4e00\u8282\u5c31\u8bb2VS\u3002<\/p>\n<p>\u6b65\u9aa4\uff1a<\/p>\n<p>1\u3001\u65b0\u5efa\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\uff0c\u5185\u5bb9\uff1a<\/p>\n<p>using System;<\/p>\n<p>class Test<\/p>\n<p>{<\/p>\n<p>static void Main(string[] args)<\/p>\n<p>{<\/p>\n<p>Console.WriteLine(&#8220;\u6768\u8001\u5e08\u8bfe\u5802&#8221;);<\/p>\n<p>Console.ReadKey();<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>\u6ce8\u610f\uff1aC#\u4e2d\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684\uff0c\u56e0\u6b64\u4e0d\u80fd\u628aMain\u5199\u6210main\uff1b\u4e5f\u4e0d\u8981\u628aMain\u9519\u5199\u6210\u4e86Mian\uff0c\u6211\u4eec\u4e0d\u662f\u201c\u5356\u9762\u201d\u7684\uff1b<\/p>\n<p>2\u3001\u4fdd\u5b58\u4e3aTest.cs\uff08C#\u6587\u4ef6\u540e\u7f00\u662f.cs\uff09\uff0c\u6ce8\u610f\u663e\u793a\u6587\u4ef6\u6269\u5c55\u540d\u3002\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u8bbe\u7f6e\u65b9\u6cd5\u4e0d\u4e00\u6837\u3002<\/p>\n<p>3\u3001\u6253\u5f00cmd\u547d\u4ee4\u63d0\u793a\u7b26\uff08\u5f00\u59cb\u2192\u8fd0\u884c\/Win+R\uff09<\/p>\n<p>4\u3001cd\u8fdb\u5165Test.cs\u6240\u5728\u7684\u6587\u4ef6\u5939\uff0c\u6267\u884c\uff1aC:\\Windows\\Microsoft &#8211; Official Home Page\\Framework\\v4.0.30319\\csc.exe Test.cs\uff0c\u7f16\u8bd1\u751f\u6210Test.exe<\/p>\n<p>5\u3001\u6267\u884cTest.exe<\/p>\n<p>C#\u7a0b\u5e8f\u5458\u4e5f\u53ef\u4ee5\u8fd9\u6837\u725bB\uff0c\u53ea\u662f\u6211\u4eec\u4e00\u822c\u6df1\u85cf\u4e0d\u6f0f\uff01<\/p>\n<p>.Net\u7a0b\u5e8f\u8fd0\u884c\u5fc5\u987b\u4f9d\u8d56\u4e8e.Net Framework \uff0c\u65e0\u6cd5\u72ec\u7acb\u8fd0\u884c\u3002<\/p>\n<p>\u751f\u6210\u7684exe\u3001dll\u4e0d\u662f\u666e\u901a\u7684\u201c\u539f\u751f\u201d\u7684\uff0c\u800c\u662f\u53eb\u201c\u7a0b\u5e8f\u96c6\u201d\uff0c\u662f\u201cMSIL\/IL\u201d\u4e8c\u8fdb\u5236\u5b57\u8282\u7801\u3002<\/p>\n<p>.Net Framework\u4e2d\u7684CLR\u662f\u8fd0\u884c.Net\u7a0b\u5e8f\u7684\u6838\u5fc3<\/p>\n<p>Linux\u3001IOS\u7b49\u975eWindows\u7cfb\u7edf\u4e0b\u4e5f\u53ef\u4ee5\u8fd0\u884c.net\u7a0b\u5e8f\uff1a\u901a\u8fc7Mono\u3002<\/p>\n<p>Android\u3001IOS\u4e0a\u4e5f\u53ef\u4ee5\u501f\u52a9\u4e8eXamarin\u4f7f\u7528C#\u5f00\u53d1\u624b\u673a\u7a0b\u5e8f\u3002<\/p>\n<p>\u5fae\u8f6f\u5df2\u7ecf\u5c06.Net\u5f00\u6e90\uff0c\u53ef\u4ee5\u5728Linux\u3001IOS\u4e0a\u8fd0\u884c.Net\u7a0b\u5e8f\uff0c\u5e76\u4e14\u514d\u8d39\u63d0\u4f9bVisual Studio Community<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c3d\u91cf\u8ddf\u7740\u505a\uff0c\u5b9e\u5728\u914d\u7f6e\u4e0d\u51fa\u6765\u4e5f\u6ca1\u5173\u7cfb\uff0c\u4e0b\u4e00&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-1940","post","type-post","status-publish","format-standard","hentry","category-zzjy"],"_links":{"self":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/1940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1940"}],"version-history":[{"count":0,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=\/wp\/v2\/posts\/1940\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiersheng.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}