Skip to content

Instantly share code, notes, and snippets.

@peyangu peyangu/Person.cs
Created Mar 15, 2017

Embed
What would you like to do?
nameof演算子
private string name_;
/// <summary>
/// 名前
/// </summary>
public string Name
{
get { return name_; }
set
{
if (name_!= value)
{
name_= value;
NotifyPropertyChanged(nameof(Name));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.