摘要:
使用构造函数传递值: public class ComplexInfoModel { public string Key { get; set; } public string Text { get; set; } public ComplexInfoModel(string key, string 阅读全文
摘要:
using System; using System.Collections.Generic; public class Student{ public string Name { get; set; } } class MyClass { //用于存储学生对象的集合 private List<St 阅读全文