what is the purpose of new keyword while creating an object?

Answer Posted / vasantha

new keyword is used the memory is allocated at runtime for
object

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps to create an assembly and add it to the gac?

457


To catch any possible exception What is the C# syntax written ?

536


What is as keyword in c#?

570


What is property c#?

503


Explain concurrency with aop?

514






If I want to override a method one of class A and in class b then how do you declare?

743


What is CASPOL?

605


What is dynamic object in c#?

525


Tell me the difference between call by value and call by reference.

536


What is the base class for array types?

562


Can I use parseint?

481


What is the difference between ienumerable and iqueryable?

442


What is difference between method and function in c#?

470


What is short in c#?

525


Does the variables of a private class-level inherited?

551