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

I am trying to redirect another site on button click.

8 Answers  


What are the Application_Start and Session_Start subroutines used for?

5 Answers   Siebel Systems,


What is the significance of ASP.NET routing?

0 Answers   NA,


Why is this service branded with windows livetm?

0 Answers  


Can I read the hard disk serial # of the client computer using asp.net?

0 Answers  






What are the page life cycle events?

0 Answers  


What is dataset and uses of dataset ?

6 Answers   HCL, TCS,


Differentiate between Server Transfer and Response Redirect?

2 Answers   DELL, Siebel, TCS,


How can you debug your.net application?

0 Answers  


what is diffrent between asp & asp.net

2 Answers  


difference between caching objects in session objects?

2 Answers  


What is custom tag in Web.Config?

0 Answers   Accenture,


Categories