Show how you specify nested classes as partial classes with example?

 Posted by Tripati_tutu on 11/16/2010 | Category: C# Interview questions | Views: 2897 | Points: 40
Answer:

The nested classes can be specified as a partial class even if the containing class is not partial. Below is one example.

class ClsContainer

{
public partial class Nested
{
void App1() { }
}

public partial class Nested
{
void App2() { }
}
}


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response