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

Can you edit data in the Repeater control?

11 Answers   CAC, Creative,


main difference between asp.net2.0,asp.net1.1,asp.net1.0

15 Answers   Inflexion, Infosys, iSoft, Microsoft, Prakruthi,


What are the different session state management options available in asp.net?

0 Answers  


What is postback request?

0 Answers  


What is the differances between a abstract calss and interface

2 Answers   Patni,






What is custom control. What is the difference between custom control and user control ?

1 Answers   Microsoft, Synergy,


whats the best method to cal id in javascript

2 Answers  


What are the ways to sending the data in ASP.NET page?

0 Answers  


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

0 Answers   Prompt Softech,


In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?

5 Answers   Syntax Softtech, TCS,


What is CTE in sql server 2005?

3 Answers   Minecode,


What is the part of url?

0 Answers  


Categories