wt is namespace? wt is the use?

Answers were Sorted based on User's Feedback



wt is namespace? wt is the use?..

Answer / siddarth

Namespace is collection of classes.These classes can be of
user defined or predefined.classes contains collection of
properties and methods.use of namespace was we can write
all classes under a container called namespace and can be
used any where as we like.

Is This Answer Correct ?    6 Yes 0 No

wt is namespace? wt is the use?..

Answer / tara

NameSpace means a Package.
it contains many supported files
ie.,system.drawing,system.io,etc.
it works like a root/directory.

Is This Answer Correct ?    2 Yes 0 No

wt is namespace? wt is the use?..

Answer / tara

It is a Continer of Classes,interfaces,subname spaces.etc.
it acts as a Package.

Is This Answer Correct ?    2 Yes 0 No

wt is namespace? wt is the use?..

Answer / guest

a namespace is logical collection of classes.

Is This Answer Correct ?    1 Yes 0 No

wt is namespace? wt is the use?..

Answer / varija.k

a namespace is a group of related classes. the main
advantage of using namespaces is to avoid conflicts when
you have multiple classes with the same name.
All classes in .net class library are grouped into
namesoaces. you can use all the classes using the fully
qulified name,includeing the namespace also along with the
class name.

Is This Answer Correct ?    1 Yes 0 No

wt is namespace? wt is the use?..

Answer / varma

Name space is a collection of free defined classes,it is
mainly used for naming collison.

Is This Answer Correct ?    1 Yes 0 No

wt is namespace? wt is the use?..

Answer / deepak kumar jena

WHAT IS NAMESPACE:-NAMESPACE IS A COLLECTION OF ONE OR MORE
CLASSES THAT CAN BE USER-DEFINED OR PREDIFINED.

USE OF NAMESPACE:- WHEN A USER WANTS TO HOLD THE CLASS(ES)
WITHIN A SINGLE PACKAGE TAKING THAT HE/SHE CAN USE THE
CLASS(ES) CONTAINED BY THAT PACKAGE AT ANYWHERE ESILY,AT
THAT TIME NAMESPACE IS USED.

Is This Answer Correct ?    1 Yes 0 No

wt is namespace? wt is the use?..

Answer / shafi syed

NameSpace means is a library which contain all supported
files so u defined the NameSpace on the top of ur
applicaton when u run Your application....the application
takes all the necessary supported files for execution.

Is This Answer Correct ?    0 Yes 0 No

wt is namespace? wt is the use?..

Answer / deepika

answer 8 is a bit misleading..Namespaces actually used to
avoid naming collisions and not "For" naming collisions.

Is This Answer Correct ?    0 Yes 0 No

wt is namespace? wt is the use?..

Answer / ctharam

namespace is showing about Hierarchy of all Classes in .Net Framework.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Why abstraction is used in c#?

0 Answers  


What are the types of serialization?

0 Answers  


windows c# using datagridview in edit form sql server

0 Answers  


What is the use of giving more than one CATCH BLOCK in one TRY block? Directly we can give that catch(Exception e)?Why we go for arrayoutofbound Exception,divided by zero etc..? Explain

2 Answers  


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

0 Answers  






How do you prevent a class from being inherited in c#?

0 Answers  


How do I create a multi language, multi file assembly?

0 Answers  


What is the reason behind the invention of c#?

0 Answers  


How do I run managed code in a process?

0 Answers  


How do I join one form to another in c#?

0 Answers  


What is xml serializer?

0 Answers  


What is stringbuilder c#?

0 Answers  


Categories