Skip to content

Instantly share code, notes, and snippets.

@soltys
Created January 1, 2013 17:25
Show Gist options
  • Save soltys/4428787 to your computer and use it in GitHub Desktop.
Save soltys/4428787 to your computer and use it in GitHub Desktop.
pc Person
s Name
i Age
dt Birthday
using System;
public class Person : BindableBase
{
private string _name;
public string Name
{
get
{
return _name;
}
set
{
SetProperty(ref _name, value);
}
}
private int _age;
public int Age
{
get
{
return _age;
}
set
{
SetProperty(ref _age, value);
}
}
private DataTime _birthday;
public DataTime Birthday
{
get
{
return _birthday;
}
set
{
SetProperty(ref _birthday, value);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment