随笔分类 -  累积

摘要:var nowtime = DateTime.Now; // 2023/6/25 11:18:241 var end = DateTime.Now.EndTimeOfDay(); // 2023 6/25 23:59:59 返回日期最后一刻,精确到23:59:59.999 var start= Da 阅读全文
posted @ 2023-06-25 09:47 程序杨% 阅读(108) 评论(0) 推荐(0) 编辑
摘要:// 创建一个RestClient对象 var client = new RestClient("http://api.openweathermap.org"); // 创建一个RestRequest对象 var request = new RestRequest("/data/2.5/weathe 阅读全文
posted @ 2023-06-21 16:49 程序杨% 阅读(190) 评论(0) 推荐(0) 编辑
摘要:1.作用:可以在一个可枚举序列中根据一个共同的键将其分组 class Person { public int Id { get; set; } public string Name { get; set; } } class Pet { public int OwnerId { get; set; 阅读全文
posted @ 2023-06-21 16:10 程序杨% 阅读(125) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示