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 session state management?
What is attribute routing in mvc?
Is it possible to create a custom filter?
What is entity framework? : Entity framework
What is MVVM design pattern?
What is the .net framework 3.0 (formerly winfx)?
What is a view engine?
What is layout in mvc?
Does windows 10 need .net framework?
Explain the .net framework.
what is way of loading data in ef (entity framework)?
Can we have enum in entity framework?
What is Dependency Injection in ASP.Net MVC
What is the use of the default route {resource}.axd/{*pathinfo} ?
What is stateless model?