Answer Posted / 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 |
Post New Answer View All Answers
Define the core components of an ASP.NET MVC application?
What is .net framwork?
What is namespace of asp.net mvc?
How do you handle variable number of segments in a route definition?
What is the purpose of a web form?
what is entity framework?
Explain JSON Binding?
i want to take the fast track training on >net Frame work and work flows and share point could you tellme the good institutes for that cources
What is meant by viewdata?
Is .net core replacing .net framework?
Explain tempdata in asp.net mvc?
How can you return string result from Action in ASP.Net MVC?
how do you query in entity model when the result has a join from from different database other than the entity model?
What is Peek method in Tempdata in ASP.Net MVC?
What is the difference between partial and renderpartial?