Question:
What are Namespaces
Answer:
Ans:
B) Group of classes categorized to avoid name clash
Source: CoolInterview.com
namespaces are logical containers of a class used to avoid the naming collisison Source: CoolInterview.com
Answered by: masrath | Date: 4/15/2009
| Contact masrath
Namespaces is a class or unique method which is used to avoid reputations. Source: CoolInterview.com
Answered by: Shalini | Date: 7/3/2009
| Contact Shalini
name space help you create logical group of related classes and interfaces,which can be used by any language targeting the .net framework. Source: CoolInterview.com
Answered by: r.ramesh | Date: 7/7/2009
| Contact r.ramesh
namespace is not actually the group of classes. Actually coder can write a class in a namespace with some name and write another class with same name in another namespace. This way we can actually avoid the name clash. For example you write two classes with same name "Box", one under "Simple" namespace and other under "Complex" namespace. There will be no name clash error from the compiler, and you can access them using Simple::Box and Complex::Box. Source: CoolInterview.com
Answered by: kk | Date: 7/20/2009
| Contact kk
name space is a collection of classes,interfaces ex:System.console.WriteLine("hai"); in this system is a name space console is a class writeline is a method..... Source: CoolInterview.com
Answered by: gouse | Date: 6/1/2010
| Contact gouse
a group of classes Source: CoolInterview.com
Answered by: rakesh | Date: 6/10/2010
| Contact rakesh
namespace is the collection of the similar classes.
Regards, Nicku Source: CoolInterview.com
Answered by: nicku | Date: 8/12/2010
| Contact nicku
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|