- 博客(2)
- 收藏
- 关注
原创 List集合操作笔记-排序-查找
List<room> list=new List<room>();list.Sort(delegate(room a, room b) { return a.id.CompareTo(b.id); });根据字段的属性值排序list.Find(delegate(room p) { return p.id ==1; });根据字段的属性值在集合中查找...
2018-04-17 16:35:54
180
原创 关于阿里云服务器屏蔽25端口
2017年九月份之后,阿里云屏蔽了邮件发送的25端口;在使用阿里云企业邮箱发送邮件修改端口为80可以正常发送邮件; SmtpClient client = new SmtpClient("smtp.aliyun.com",80);
2018-01-03 14:57:48
1982
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人