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 action filters?
Explain .net Framework?
What is the version number for the next version of the .net framework, codenamed �orcas�?
creating crystal reports in asp.net & vb.net
What is inline schema, how does it works
What is ado.net data provider? : Entity framework
How does CAS work
what is complex type?
Is there built-in support for tracing/logging
How will you load dynamic assembly? How will create assemblies at run time?
exe abrevatiom
What is layout in mvc?