virtual -- C# Keyword
The virtual keyword is used to modify a method, property, indexer, or event declaration and allow for it to be overridden in a derived class.
The virtual keyword is used to modify a method, property, indexer, or event declaration and allow for it to be overridden in a derived class.
public virtual <Data Type> <Method Name>()
{
///Code
return <Value>
}
{
///Code
return <Value>
}