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
Explain what languages does the .net framework support?
What is the difference between .net core and .net framework?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
what is linq to entities?
What is difference between html.beginform and ajax.beginform?
What is entity framework used for?
What is tempdata?
What is entity graph? : Entity framework
What is meant by tempdata in mvc?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
What are the components of the .net framework.
what is .edmx file and what it contains?
Does .NET Framework support SAX?
What is entitycontainer? : Entity framework
Can any particular component of .net framework 3.0 be removed?