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 is a model in android?
How do I install .net framework?
What is conceptual model? : Entity framework
What is the advantage of mvc?
What is Layout in ASP.Net MVC?
What is the use of viewmodel in mvc?
explain what is ado.net entity framework?
What is the full form of sp?
What are Scaffold templates in ASP.Net MVC?
What are the components required to create a route in ASP.Net MVC?
how do you query in entity model when the result has a join from from different database other than the entity model?
What is the difference between tempdata and viewbag?
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?
Can you use Razor code in Javascript in ASP.Net MVC?