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 |
Why do I get errors when I try to serialize a Hashtable
Explain the new features 3.5 framework against with the tool?
Can we change web.config settings from iis?
What is Value type and reference type in .Net
What you mean by routing in asp.net mvc?
In razor syntax, what is the escape sequence character for @ symbol?
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
What is the difference between the value-type variables and reference-type variables in terms of garbage collection ?
Is it possible to share a view across multiple controllers?
Can we look at the IL for an assembly?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
explain what is ado.net entity framework?