Using virtual in C#

What is the purpose of virtual in C#? What is the proper way and reason to use it?

For example, public virtual ICollection<Order> Orders { get; set; } in defining a collection orders in a Client class (say, at a restaurant or something). Why would you use virtual here? What does it do, and what is the general correct way to use it?


Download using.virtual.in.c.zip
Direct Link


Download


Download using.virtual.in.c.zip
Mediafire


Download


Download using.virtual.in.c.zip
FileJungle


Download


Download using.virtual.in.c.zip
Extabit


Download


Download using.virtual.in.c.zip
KEWLSHARE


Download

Both comments and pings are currently closed.

Comments are closed.