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



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

Post New Answer

More Dot Net Framework Interview Questions

what are abstract classes? what is overriding?

12 Answers  


What are the derived classes from xmlReader and xmlWriter

1 Answers  


Explain JSON Binding?

0 Answers  


What is the difference between renderaction and renderpartial?

0 Answers  


what is entity graph in entity framework?

0 Answers   Microsoft,


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


What are the contents of assembly?

2 Answers  


What is the domain object?

0 Answers  


What is representational state transfer (rest) mean?

0 Answers  


What is the greatest advantage of using asp.net mvc over asp.net webforms?

0 Answers  


what is the diff b/w asp.net 2.0 & 3.5

2 Answers   Wipro,


Explain how to use multiple submit buttons in ASP.Net MVC?

0 Answers  


Categories