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 the versions of .net framework?
What is the difference between model view and controller?
Can you please explain the request flow in ASP.NET MVC framework?
In which assembly is the mvc framework defined?
Can you use Razor code in Javascript in ASP.Net MVC?
what is minimum requirement for entity framework applications to run?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
What is Reflection in .NET?
What is GC (Garbage Collection) and how it works
What is the common property in .net?
What is the .net framework?
What is Differnce between html.action and ajax.action?