摘要:
static void Main() { //第一步 委托实例调用 Func test = new Func(getLength); //第二步 匿名方法 Func test1 = delegate(string str) { return str.Length; }; //第三步 Lamada表达式第一步 Func test2 = (string str) =>{ return str.L... 阅读全文
摘要:
class StudentItemViewModel:INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public Student Student { get; set; } private bool _isSelected; public bool IsSelected { get { return _isSelected; } set ... 阅读全文