摘要:
使用对象初始值设定项: *在创建对象时,向对象的任何可访问字段或属性分配值 *可为构造函数指定参数或忽略参数 public class Cat { // Auto-implemented properties. public int Age { get; set; } public string? 阅读全文
摘要:
using System.Xml.Linq; static void Main(string[] args) { XElement contacts = new XElement("Contacts", new XElement("Contact", new XElement("Name", "Pa 阅读全文