What is the use of New Keyword

Answer Posted / hafiz usman majeed

as modern programming languages use this keyword
extesively, it used to assign an object the memory on heap.
and thus physically implements the class for that
particular object.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain partial class in c#?

493


What are the Types of assemblies that can be created in dotnet

655


What is difference between Trace and Debug

548


Where do I put dll files?

566


What is the difference between final finally and finalize in c#?

446






How do I simulate optional parameters to com calls?

499


Why do we need abstract class?

470


Explain the access modifiers in c#?

489


What is the use of readkey in c#?

485


write a c# program add two matrix with input number ?

561


Wcf and what is difference between wcf and web services?

484


Why extension method is static?

467


Can a class be protected in c#?

486


How long does it take to learn c# programming?

468


How would you describe encapsulation in c#?

482