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?
Code
public class ACode
{C#
public class B { public int id{ get; set; } public string name{ get; set; } public year { get; set; } }C#
public class C { public string name { get; set; }} }

Sanjay SabariyaRank #2,262 · 623 reputationPosted Sep 27, 2015, 10:40 PM EDT
shosho shosho56 reputationPosted Sep 27, 2015, 10:40 PM EDT
Mukesh KumarRank #119 · 18.2K reputationPosted Sep 27, 2015, 10:45 PM EDT
Sanjay SabariyaRank #2,262 · 623 reputationPosted Sep 27, 2015, 10:46 PM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Sep 27, 2015, 10:50 PM EDT