Код: Выделить всё
[Serializable]
public class YoungPerson
{
public string FullName;
public string fullname
{
get { return FullName;}
set { FullName = value; }
}
public int Age { get; set; }
public YoungPerson(string fullName, int age)
{
this.FullName = fullName;
this.Age = age;
}
}

Подробнее здесь: https://stackoverflow.com/questions/734 ... ion-it-can
Мобильная версия