06 2023 档案
摘要: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
阅读全文
摘要:// 创建一个RestClient对象 var client = new RestClient("http://api.openweathermap.org"); // 创建一个RestRequest对象 var request = new RestRequest("/data/2.5/weathe
阅读全文
摘要:1.作用:可以在一个可枚举序列中根据一个共同的键将其分组 class Person { public int Id { get; set; } public string Name { get; set; } } class Pet { public int OwnerId { get; set;
阅读全文