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 |
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?
Which are the important namespaces used in ASP.Net MVC?
Difference between <connectionstring> and <appsettings>
What are scaffold templates in mvc?
Which is the best institute for .net?
What is the difference between tempdata and viewbag?
What is the difference between ViewData, ViewBag and TempData?
can we call the garbage collector to run explicicitly?
what is an assembly?
How do assemblies find each other?
how do you mark a property as required? For example, for a project, the name is a required field.
In which assembly is the mvc framework defined?