|
Accessing Nested static class's static data members
I have few classes those include nested static classes.
Ex.
class Office{
static class Widget{
public static link = new Link();
}
class History{
static class Widget{
public static page= new Page();
}
I call these static data members as-
Office.Widget.link
History.Widget.page
is there any way i can make above 2 line call reusable passing the outer classes (Office/History) as an argument..
Can someone help me with this?
|