{"id":987,"date":"2021-01-04T17:28:27","date_gmt":"2021-01-04T09:28:27","guid":{"rendered":"http:\/\/admin.lastdream.net\/?p=987"},"modified":"2021-01-04T17:28:27","modified_gmt":"2021-01-04T09:28:27","slug":"2021-1-4-chanshuhefangfajichubiji","status":"publish","type":"post","link":"https:\/\/admin.vsingers.com\/index.php\/2021\/01\/04\/2021-1-4-chanshuhefangfajichubiji\/","title":{"rendered":"2021.1.4 C#\u51fd\u6570\u548c\u65b9\u6cd5\u57fa\u7840\u7b14\u8bb0+\u7ecf\u9a8c"},"content":{"rendered":"<h3>\u51fd\u6570\u548c\u65b9\u6cd5\u533a\u522b<\/h3>\n<p>\u9879\u76ee\u6587\u4ef6\uff1a<a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/ConsolStudy.7z\">ConsolStudy<\/a><\/p>\n<p>C#\u4e2d\u65b9\u6cd5\u548c\u51fd\u6570\u51e0\u4e4e\u6ca1\u6709\u5b9e\u9645\u533a\u522b\uff0c\u7b80\u5355\u8bf4\u53ea\u662f\u8bf4\u6cd5\u4e0d\u540c\uff0cclass\u7c7b\u4e2d\u5305\u542b\u591a\u4e2a\u65b9\u6cd5\uff0c\u4e5f\u53eb\u6210\u5458\u51fd\u6570\uff0c\u5728\u8c03\u7528\u975estatic\u9759\u6001\u65b9\u6cd5\/\u51fd\u6570\u65f6\uff0c\u9700\u8981\u52a8\u6001\u521b\u5efa\u51fd\u6570\uff0c\u540c\u7406\u6613\u8bed\u8a00\u3002\u82e5\u6709static\u5219\u5728\u4ee3\u7801\u8fd0\u884c\u65f6\u8be5\u51fd\u6570\u5c31\u5df2\u7ecf\u5185\u5b58\u4e2d\u5360\u7528\u521b\u5efa\u3002<a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104170427.png\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-988\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104170427.png\" alt=\"\" width=\"997\" height=\"774\" \/><\/a><\/p>\n<p><strong>\u767e\u5ea6\u767e\u79d1\uff1a<\/strong><\/p>\n<p>https:\/\/baike.baidu.com\/item\/%E6%96%B9%E6%B3%95\/3009367?fr=aladdin<\/p>\n<p><a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104172417.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-993\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104172417.png\" alt=\"\" width=\"877\" height=\"386\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u7f51\u7edc\u8bf4\u660e\uff1a<\/strong><\/p>\n<p><a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104171920.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-990\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104171920.png\" alt=\"\" width=\"1745\" height=\"730\" \/><\/a><\/p>\n<blockquote><p>\u5176\u5b9e\u662f\u4e00\u4e2a\u610f\u601d\u3002\u4ece\u8bed\u610f\u4e0a\u6765\u8bf4\uff0c\u51fd\u6570\u662ffunction,\u591a\u6307\u4ee5\u524d\u9762\u5411\u8fc7\u7a0b\u7f16\u7a0b\u65f6\u5019\uff0c\u5c06\u903b\u8f91\u7f16\u5199\u4e3a\u4e00\u4e2a\u4e00\u4e2a\u8fc7\u7a0b\uff0c\u79f0\u4e4b\u4e3a\u51fd\u6570\u3002\u540e\u6765\u53d1\u5c55\u4e3a\u9762\u5411\u5bf9\u8c61\uff0c\u4ee3\u7801\u4ee5\u7c7b\u7684\u65b9\u5f0f\u6765\u7ec4\u7ec7\uff0c\u7c7b\u7684\u91cc\u9762\u662f\u6210\u5458\u53d8\u91cf\u548c\u6210\u5458\u51fd\u6570\uff0c\u4e5f\u53eb\u505a\u6570\u636e\u548c\u65b9\u6cd5(method).\u4e0d\u540c\u65f6\u671f\uff0c\u6709\u4e0d\u540c\u7684\u4e60\u60ef\u53eb\u6cd5\uff0c\u4f46\u662f\u4e8b\u5b9e\u662f\u4e00\u56de\u4e8b\u3002<\/p><\/blockquote>\n<p><strong>\u83dc\u9e1f\u6559\u7a0b\u4ee3\u7801\u793a\u8303\uff1a<\/strong><\/p>\n<p>https:\/\/www.runoob.com\/csharp\/csharp-methods.html<\/p>\n<p><a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104172207.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-991\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104172207.png\" alt=\"\" width=\"630\" height=\"723\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3>\u9759\u6001\u8c03\u7528\uff1a<\/h3>\n<p><a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104171729.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-989\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104171729.png\" alt=\"\" width=\"627\" height=\"645\" \/><\/a><\/p>\n<h3>C#\u4ee3\u7801\u6279\u91cf\u6ce8\u91ca<\/h3>\n<p>https:\/\/blog.csdn.net\/acetaohai123123\/article\/details\/78266979<\/p>\n<p>\u9009\u4e2d\u4e00\u6279\u6587\u672c\u4e4b\u540e<\/p>\n<p>\u6279\u91cf\u589e\u52a0\u6ce8\u91ca\uff1aCtrl+K Ctrl+C<\/p>\n<p>\u6279\u91cf\u53d6\u6d88\u6ce8\u91ca\uff1aCtrl+K Ctrl+U<\/p>\n<p><strong>\u5b9e\u9645\uff1a\u9009\u4e2d\u4ee3\u7801\uff0cCtrl\u6309\u4f4f\u4e0d\u653e\uff0c\u5148\u540e\u987a\u5e8fK\u548cC\uff0c\u89e3\u9664\u987a\u5e8f\u662f\u5148K\u540eU\u3002<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3>C#\u4e2dchar\u4e0d\u8bba\u4e2d\u82f1\u6587\u53ea\u80fd\u4e00\u4e2a\u5b57\u7b26<\/h3>\n<p>C#\u4e2dchar\u7684\u5b57\u7b26\u6982\u5ff5\u4e0d\u5206\u6613\u8bed\u8a00\u4e2d\u65872\u5b57\u8282\u548c\u5b57\u6bcd1\u5b57\u8282\u5360\u7528\u4e4b\u5206\uff0cchar=1\u5b57\u6bcd||char=1\u6c49\u5b57<\/p>\n<p>\u5b9e\u6d4b\uff1a<\/p>\n<p><a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104182418.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1000\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104182418.png\" alt=\"\" width=\"419\" height=\"148\" \/><\/a> <a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104182442.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1001\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104182442.png\" alt=\"\" width=\"410\" height=\"137\" \/><\/a> <a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104182511.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1002\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104182511.png\" alt=\"\" width=\"282\" height=\"117\" \/><\/a><\/p>\n<p>\u4e0e\u6613\u8bed\u8a00\u4e2d\u6587\u5360\u4e24\u4e2a\u5b57\u7b26\/\u5b57\u8282\u4e0d\u540c\uff0cC#\u4e2d\u597d\u50cf\u5df2\u7ecf\u89c4\u8303\u4e86\u4e2d\u6587\u4e3a\u4e00\u4e2a\u5b57\u7b26\uff0c\u6613\u8bed\u8a00\u4e2d\u8fd9\u91cc\u4e2d\u6587stra\u4f1a\u4e3a4\uff1a<\/p>\n<p><a href=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104191249.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1007\" src=\"http:\/\/admin.lastdream.net\/wp-content\/uploads\/2021\/01\/QQ\u622a\u56fe20210104191249.png\" alt=\"\" width=\"708\" height=\"116\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u51fd\u6570\u548c\u65b9\u6cd5\u533a\u522b \u9879\u76ee\u6587\u4ef6\uff1aConsolStudy C#\u4e2d\u65b9\u6cd5\u548c\u51fd\u6570\u51e0\u4e4e\u6ca1\u6709\u5b9e\u9645\u533a\u522b\uff0c\u7b80\u5355\u8bf4\u53ea\u662f\u8bf4\u6cd5\u4e0d\u540c\uff0ccla [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":988,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-987","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c_net"],"_links":{"self":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts\/987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/comments?post=987"}],"version-history":[{"count":0,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/posts\/987\/revisions"}],"wp:attachment":[{"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/media?parent=987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/categories?post=987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/admin.vsingers.com\/index.php\/wp-json\/wp\/v2\/tags?post=987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}