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

How to return the JSON from action method in ASP.Net MVC?

1209


What is viewbag title?

925


what is linq to entities?

1120


What is Separation of Concerns in ASP.NET ASP.Net MVC?

1165


Which filter executes first in an asp.net mvc application?

962


Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?

1007


Can I use razor code in javascript in asp.net mvc?

1144


What are sections?

1108


Do you know about the new features in ASP.Net MVC 4 ?

1073


how do you mark a property as required? For example, for a project, the name is a required field.

1050


What is layout in mvc?

1002


How can I tell what .net framework is installed?

963


Is entity framework slow?

995


Briefly describe the roles of clr in .net framework?

978


How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?

946