Can you write a class without specifying namespace? Which namespace does it belong to by default?



Can you write a class without specifying namespace? Which namespace does it belong to by default?..

Answer / kirti

Yes, you can, then the class belongs to global namespace which has no name. For commercial products, naturally, you wouldn't want global namespace.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What is MSIL, IL, CTS and, CLR

1 Answers  


What are HTML Helpers, AJAX Helpers in ASP.Net MVC?

0 Answers  


what is difference b/w .net 1.1 and .net 2.0. I need Answer in c# , asp.net and ado.net Level.Like c#1.1 and c#.1.1 , ado.net1.1 and ado.net2.0 and asp.net1.1 and asp.net2.0

4 Answers  


what is entity graph in entity framework?

0 Answers   Microsoft,


what is split entity?

0 Answers   Microsoft,






I want ask from plz smaple example code for Biztalkk server

0 Answers  


How to set the debug mode

1 Answers   4Cplus,


What is the use of display modes?

0 Answers  


What is ASP.NET MVC?

1 Answers  


What are the contents of assembly?

2 Answers  


How do you specify comments using razor syntax?

0 Answers  


Explain the types of Scaffoldings.

0 Answers  


Categories