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
What is null propagation c#?
What is satellite assembly? And steps to create satellite assembly?
Can a constructor have a return type?
What is windows application in c#?
What is ado net in c#?
What does char mean in c#?
What are the classes contained in a single .NET DLL ?
What is yield break in c#?
What is field in c#?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?
What is default constructor in c#?
explain Garbage collector’s functionality on unmanaged code
what is IFormatable
the c# keyword .int. Maps to which .net type?
Can a method return multiple values in c#?