What is the purpose of namespace in c#?



What is the purpose of namespace in c#?..

Answer / Sameer Rai

The purpose of namespaces in C# is to organize and group classes, interfaces, structures, enumerations, and other types of code into logical units. Namespaces provide a way to prevent naming collisions and make it easier for developers to manage large projects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Enlist some of the properties of a thread class?

1 Answers  


what is the default access for a class

1 Answers   Cognizant,


What do you mean by casting a data type?

1 Answers  


Can you declare the override method static while the original method is non-static?

3 Answers  


What is the difference between <c> and <code> xml documentation tag?

1 Answers  


How to make a class non-inheritable other than sealed?

7 Answers  


What's the difference between a static method and a non static method c#?

1 Answers  


How will you get the different language strings?

1 Answers  


What is difference between static and readonly in c#?

1 Answers  


Can a static class contain non static members?

1 Answers  


Define thread? Explain about multithreading?

1 Answers  


What is the use of the static constructor? When static constructor gets compiled?

1 Answers   Syntel,


Categories