public class A
{
public class B { public int id{ get; set; } public string name{ get; set; } public year { get; set; } }
public class C { public string name { get; set; }}