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 a mvc in asp.net?
3 Answers Cap Gemini, Elsinoir Technologies, HCL,
Explain encapsulation
1 Answers HPCL, Hughes Systique Corporation,
If you are using components in your application, how can you handle exceptions raised in a component ?
4 Answers Accenture, BirlaSoft,
Is .net framework 4.8 the last version?
What does mvvm mean?
What does assert() method do?
1 Answers MCN Solutions, Siebel Systems,
What are the main components of .net framework?
How do you initiate a string without escaping each backslash ?
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?
Explain representational state transfer (rest) in detail?
How do you enforce garbage collection in .NET
Is mvc 4 supporting windows azure sdk (software development kit) ?