What is namespaces
Answer / kirti
Namespace is a logical naming scheme for group related types.Some class types that logically belong together they can be put into a common namespace. They prevent namespace collisions and they provide scoping. They are imported as "using" in C# or "Imports" in Visual Basic. It seems as if these directives specify a particular assembly, but they don't. A namespace can span multiple assemblies, and an assembly can define multiple namespaces. When the compiler needs the definition for a class type, it tracks through each of the different imported namespaces to the type name and searches each referenced assembly until it is found.
Namespaces can be nested. This is very similar to packages in Java as far as scoping is concerned.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are abstract classes? what is overriding?
What are the derived classes from xmlReader and xmlWriter
Explain JSON Binding?
What is the difference between renderaction and renderpartial?
what is entity graph in entity framework?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
What are the contents of assembly?
What is the domain object?
What is representational state transfer (rest) mean?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
what is the diff b/w asp.net 2.0 & 3.5
Explain how to use multiple submit buttons in ASP.Net MVC?