Can you write a class without specifying namespace? Which namespace does it belong to by default?
Answer Posted / 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 View All Answers
What are ajax helpers in asp.net mvc?
How do I use partial view?
what is .edmx file and what it contains?
What is net framework 3.0 ?
What is Dependency Injection in ASP.Net MVC
What you mean by routing in mvc?
What are Model Binders in ASP.Net MVC?
What is the difference between renderaction and renderpartial?
Why should we go for entity framework?
How does the .net framework 3.0 relate to the .net framework 2.0?
Explain tempdata in mvc?
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
Explain RenderBody and RenderPage in ASP.Net MVC?
What is the meaning of unobtrusive javascript? Explain us by any practical example.
Is .net framework dead?