Answer Posted / sanjay maurya
the new keyword is basically used in reference types to
create a object and allocate memory to it.
an oter use of new keyword method overriding it override
the base class method from dirved class method when base
class method not define as vertual
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the use of tuple in c#?
Expalin the way you implement inheritance by using VB.NET/C#?
Is dictionary a collection?
How you will create satellite assemblies?
What is a factory in c#?
Explain About web methods and its various attributes
What is a jagged array?
What is multiple interface in c#?
Why do we need generics?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
Can a class have more than 1 destructor?
What is difference between the "throw" and "throw ex" in .net?
Why do we need delegates in c#?
What types of object can I throw as exceptions?
Is char * null terminated?