Usage

The virtual keyword allows to modify a method, property, indexer or event declaration and to be overridden in a derived class.

Example

public virtual double volume() {
   return len * width * height
}