Virtual method in C# is a used to support polymorphism. This means that in a base class we will define a method foo1() with the keyword "virtual" and the derived classes will inherit t...
Keyword virtual is used to make changes to the methods inside the virtual class while runtime. the virtual class should be overide with the same modifier, return type and the name.