Answer:
class A
{
public string DisplayName()
{
return "This is Class A";
}
public class B
{
public string DisplayName()
{
return "This is Class B";
}
}
}
-------------------------------------------------------
var obja=new A.B();
string txt = obja.DisplayName();
Response.Write(txt);
Asked In: HCL |
Alert Moderator