摘要:
C#-Code// Create the serializer XmlSerializer serializer = new XmlSerializer(typeof(MySerializableType)); // Serialize the object to an XML file using (StreamWriter streamWriter = File.CreateText("CSX... 阅读全文
摘要:
MailAddress from = new MailAddress("gaosheng@hotmail.com", "高升"); //邮件的发件人MailMessage mail = new MailMessage();//设置邮件的标题mail.Subject = txtSubject.Text;//设置邮件的发件人//Pass:如果不想显示自己的邮箱地址,这里可以填符合mail格式的任意名称... 阅读全文