Can we make a class with class with same;suppose
public class abc
{
public class abc
{
}
}



Can we make a class with class with same;suppose public class abc { public class abc { } }..

Answer / phani

No, We can't make a class with same.
We will get error as: Member name can't be same as their
enclosed types

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Does JITting occur per-assembly or per-method? How does this affect the working set?

1 Answers  


Is asp.net and .net are same or different?

0 Answers  


what is AutoEventWireUp and what is the use of This property explain in details?

0 Answers   ITC Infotech,


What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

4 Answers  


what is view state

5 Answers   Microsoft, Siebel Systems,


What is redirecting behavior?

0 Answers  


Explain the steps to be followed to use passport authentication.

0 Answers  


what is view state?

10 Answers   Satyam,


To which side ( server ? client) does the user input data validation occur? Explain the reasons for it?

1 Answers   Siebel,


What is the life cycle of web page?

0 Answers  


Explain the asp.net mvc folder conventions? : asp.net mvc

0 Answers  


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

0 Answers  


Categories