2024年5月6日
摘要: 1.源码 ` /// /// SMTP发送邮箱(默认用QQ邮箱发送) /// /// 收件人邮箱 /// 邮件主题 /// 邮件正文 /// host >QQ的为smtp.qq.com /// port >QQ的为587 /// 是否添加附件 /// 添加附件路径 /// 是否抄送 /// 抄送地址 阅读全文
posted @ 2024-05-06 10:21 cq752522131 阅读(56) 评论(0) 推荐(0)
  2020年12月29日
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _4.对象的动态排序 { class Progr 阅读全文
posted @ 2020-12-29 18:19 cq752522131 阅读(70) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _3.集合中对象的默认排序 { class Pr 阅读全文
posted @ 2020-12-29 18:16 cq752522131 阅读(101) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _2.泛型集合Dictionary { clas 阅读全文
posted @ 2020-12-29 18:14 cq752522131 阅读(47) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //泛型集合命名空间 using System.Collection 阅读全文
posted @ 2020-12-29 18:13 cq752522131 阅读(88) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _9ref和out { public class 阅读全文
posted @ 2020-12-29 18:11 cq752522131 阅读(68) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _7构造方法 { public class St 阅读全文
posted @ 2020-12-29 18:08 cq752522131 阅读(66) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //如果要弹窗。加命名空间 using System.Windows 阅读全文
posted @ 2020-12-29 18:03 cq752522131 阅读(64) 评论(0) 推荐(0)
摘要: /// /// 学员类 /// public class Student { #region 字段 //字段,又称为"成员变量",一般在类的内部做数据交互使用,一般使用Private修饰。 //字段命名规范:一般采用Caml命名法,即首字母小写。 //字段的通俗理解:字段好比我们的个人财产,只供我们 阅读全文
posted @ 2020-12-29 18:00 cq752522131 阅读(94) 评论(0) 推荐(0)
摘要: class Program { //定义结构体 public struct Student { private string stuName; private int stuId; private int age; public void GetValue(string name, int stui 阅读全文
posted @ 2020-12-29 17:58 cq752522131 阅读(60) 评论(0) 推荐(0)