I have this example
public class AClass
{
public class BClass
{
public string name;
public string id;
}
}
now i want to make an intsance of Aclass
public class Program
{
public static void Main()
{
AClass newitem = new AClass();
}
}
but i haven't access to the properties of BClass
with the object newitem
. How can achieve that with an instance of AClass
?