write the Syntax for Function or Method Overriding?
Answer Posted / ashish gupta
class base
{
public virtual func()
{
}
}
class derive:base
{
//override the base funcion..signature n return value
// must be same
public override func()
{
}
}
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
Is c# lazy thread safe?
What is cshtml?
What is a custom attribute?
What is boolean conditions in c#?
Are arraylist faster or arrays?
What is before string in c#?
Can properties be private in c#?
What is a satellite assembly in c#?
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is a destructor in c#?
Give an example of a ctype.
What is generic collection in c#?
Is c sharp free?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
How do you type a null character?