Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What is a user session?

0 Answers  


what is value type to reference type

6 Answers   AG Technologies, IBM,


what is the difference between sql 2000 and 2005?

2 Answers   Cognizant,


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

0 Answers  


Define repository pattern in asp.net mvc? : asp.net mvc

0 Answers  






3. What goals do you have in your career?

0 Answers   Swatz Oils,


What is the difference between globalization and localization?

0 Answers  


What is the transport protocol you use to call a Web service?

2 Answers   Siebel Systems,


Do I need to have the latest version of windows media player installed?

0 Answers  


What is route in web api?

0 Answers  


How to convert any string to view state format in asp.net? §ÇÛ짬ªª³ö»Ç¾ö»ÂÇ¿¾»¼»¾ö¼ÉÇöÇÏǼ»Ãö®±ª§°ö«³ -- i want convert this string to view state.

1 Answers   iFlex,


How could you modify xaml content from javascript?

0 Answers  






Categories