what is namespace?

Answer Posted / anil

Namespace is a logical container for all types i.e
class,enum,struct,interface etc..

Namespace is used in two scenarios:
1. to overcome the naming collision
2. to group related items together

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the methods used to render the views in ASP.Net MVC?

631


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

705


Mention what is the difference between “ActionResult” and “ViewResult” ?

577


What are the benefits of .net framework?

563


What is partialview in asp.net mvc?

601






What is entity graph? : Entity framework

532


How can I return string result from action in asp.net mvc?

566


What is the need of Action Filters in ASP.Net MVC

571


What are the levels at which filters can be applied in an asp.net mvc application?

590


What is the difference between renderaction and renderpartial?

617


what is use of entitydatasource control?

605


Explain test driven development (tdd) ?

566


What are the main components of .net framework?

548


how can you tell ef to have a different table or column name than that defined for the class?

576


What is web api‘s in asp.net mvc 4 ?

587