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 is the version number for the next version of the .net framework, codenamed �orcas�?
What is separation of concerns in asp.net mvc?
Does windows 10 need .net framework?
How to make sure Client Validation is enabled in ASP.Net MVC
What is stateless model?
How can I return string result from action in asp.net mvc?
Explain what is the difference between view and partial view?
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?
Possible ways to prevent xss attacks on mvc application?
How is method overriding different from method overloading
What is associationset? : Entity framework
What is managed extensibility framework?