摘要: // 创建一个RestClient对象 var client = new RestClient("http://api.openweathermap.org"); // 创建一个RestRequest对象 var request = new RestRequest("/data/2.5/weathe 阅读全文
posted @ 2023-06-21 16:49 程序杨% 阅读(160) 评论(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 程序杨% 阅读(108) 评论(0) 推荐(0) 编辑