wt is namespace? wt is the use?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is 0 an unsigned integer?

475


What is callback function in c#?

511


What is stringbuilder c#?

485


In c#, what will happen if you do not explicitly provide a constructor for a class?

497


What is the difference between a class and an object c#?

455






What are anonymous functions in c#?

494


What is private readonly in c#?

494


What is the correct way of declaring an xml namespace?

457


how to print invert pyramid in c#

1285


Explain boxing and unboxing in c#?

484


What is the data encapsulation?

462


What type of data type conversion happens when the compiler encounters the following code?

509


What are object pooling and connection pooling and difference between them?

496


What is base class in c#?

512


What do you mean by synchronous and asynchronous operations?

453