摘要: class Program { static void Main(string[] args) { List<Test1> list1 = new List<Test1>(); List<Test2> list2 = new List<Test2>(); List<Test3> list3 = ne 阅读全文
posted @ 2021-10-15 15:49 艾特-天空之海 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 只有在调试时才执行的DEBUG那部分的代码,否则执行else那部分的代码,最后用endif结束语句; 代码如下: string end = ""; #if DEBUG { end = "Debug"; Console.WriteLine(end); } #else { end = "no Debug 阅读全文
posted @ 2021-10-10 22:45 艾特-天空之海 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 方式1: 先实例化,需要再调用Start启动; static void Main(string[] args) { #region Task //task的启动方式 Task task = new Task(()=> { Test(); }); task.Start(); Console.Write 阅读全文
posted @ 2021-10-10 22:22 艾特-天空之海 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1、启动windows的命令提示符; 2、进入指定的项目文件夹; 输入“dotnet run”,回车;之后出现有如绿色的 “info”信息,说明项目启用成功; 3、在浏览器中输入“http://localhost:5000/”,出现如下界面(项目启用完成,可以浏览了): 阅读全文
posted @ 2021-10-10 21:47 艾特-天空之海 阅读(1298) 评论(0) 推荐(0) 编辑
摘要: 在指定的可为空的字段上增加特性“[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]”即可; class Program { static void Main(string[] args) { TestMan test = new 阅读全文
posted @ 2021-10-08 23:44 艾特-天空之海 阅读(1643) 评论(1) 推荐(0) 编辑
摘要: 广告比较少。 链接: https://kaifa.baidu.com/ 阅读全文
posted @ 2021-10-07 15:53 艾特-天空之海 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 来源: https://blog.csdn.net/github_39506988/article/details/90298780 阅读全文
posted @ 2021-10-06 17:05 艾特-天空之海 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 当a56爆大奖在线娱乐们创建项目, "vue create vue3-app",提示: ue : 无法加载文件 C:\Users\SHa.Jazy\AppData\Roaming\npm\vue.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/? 阅读全文
posted @ 2021-10-04 22:17 艾特-天空之海 阅读(304) 评论(0) 推荐(0) 编辑
摘要: a56爆大奖在线娱乐要做什么?该怎么做? 阅读全文
posted @ 2021-10-04 19:18 艾特-天空之海 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 查看linux的ip地址的命令: hostname -I(其中 l 是英文字母); 输入hostname -I,回车,本机的ip地址就会显示出来; (欢迎关注微信公众号"二维一加零"-_-) 阅读全文
posted @ 2021-10-02 17:58 艾特-天空之海 阅读(1437) 评论(0) 推荐(0) 编辑