What is the use of New Keyword

Answer Posted / senthil kumar

The keyword New is used to create the object for the
classes.using that object all the methods and properties
are invoked.

Is This Answer Correct ?    30 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between event and a delegate in c#?

526


How big is an int16?

486


How do you implement thread synchronization (object.wait, notify,and criticalsection) in c#?

618


Why delegates are type safe in c#?

499


Explain how do I convert a string to an int in c#?

508






What is the purpose of c#?

551


What is the difference between disposing of () and finalize() methods in c#?

544


Why objects are stored in heap in c#?

475


What is tryparse c#?

485


How do I link two windows forms in c#?

469


Is it possible to force garbage collector to run?

480


When do you generally use a class over a struct?

536


What is a method signature c#?

515


Is the following code legal?

557


What are get and set in c#?

576