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; }} }
Manas MohapatraPosted Sep 28, 2015, 2:50 AM
Sanjay SabariyaPosted Sep 28, 2015, 2:46 AM
Mukesh KumarPosted Sep 28, 2015, 2:45 AM
shosho shoshoPosted Sep 28, 2015, 2:40 AM
Sanjay SabariyaPosted Sep 28, 2015, 2:40 AM