C#中() =>是什么意思
如题C#中()=>是什么意思,比如publicICommandAddCommand{get{if(this.addCommand==null)this.addComman...
如题C#中() =>是什么意思,比如
public ICommand AddCommand
{
get
{
if (this.addCommand == null)
this.addCommand = new RelayCommand(() => this.AddPerson(), () => this.CanAddPerson());
return this.addCommand;
}
} 展开
public ICommand AddCommand
{
get
{
if (this.addCommand == null)
this.addCommand = new RelayCommand(() => this.AddPerson(), () => this.CanAddPerson());
return this.addCommand;
}
} 展开
7个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询