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 view state

3 Answers   Wipro,


Is .NET a runtime service or a development platform?

1 Answers  


What are bundling & minification features in asp.net mvc 4?

0 Answers  


What are the components required to create a route in ASP.Net MVC?

0 Answers  


Iam using an asp.net application . i want to update one of my table in database at 4pm every day how it is possible.

6 Answers   ABC, Evalueserve,






Explain bundle.config in mvc4?

0 Answers  


What is objectset? : Entity framework

0 Answers  


How would you make a combo-box appear in one column of a DataGrid?

1 Answers  


what is deferred loading(lazy loading)?

0 Answers   Microsoft,


What is the difference between STA and MTA?

3 Answers  


Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )

0 Answers   NNN,


If you are using components in your application, how can you handle exceptions raised in a component ?

4 Answers   Accenture, BirlaSoft,


Categories