I have a class A which has 2 other classes B & C inside it.
Each of those classes has properties . i want to use these properties in another class. how can this be done?
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; }}
}