Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is namespaces

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


Please Help Members By Posting Answers For Below Questions

Define the core components of an ASP.NET MVC application?

1152


What is .net framwork?

1071


What is namespace of asp.net mvc?

1181


How do you handle variable number of segments in a route definition?

1021


What is the purpose of a web form?

1064


what is entity framework?

1124


Explain JSON Binding?

1109


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

2065


What is meant by viewdata?

1048


Is .net core replacing .net framework?

1030


Explain tempdata in asp.net mvc?

1163


How can you return string result from Action in ASP.Net MVC?

1101


how do you query in entity model when the result has a join from from different database other than the entity model?

1031


What is Peek method in Tempdata in ASP.Net MVC?

1220


What is the difference between partial and renderpartial?

986