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 domain object?
What is strong name?
What is Reflection in .NET?
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
What are the ways to deploy an assembly?
If Controller is not there in MVC Pattern what happens?
What’s the advantage of using System.Text.StringBuilder over System.String?
What is the "helperpage.isajax" property?
What is mapping in entity framework? : Entity framework
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?
What are the 3 main components of an asp.net mvc application?
what do you mean by table-per-hierarchy?