Method overriding definition with example in C#.Net


A function in the c# class, can be marked as virtual. It is nothing but overridding in a derived class, so this will have different behaviour. Overridden concept comes under polimorphism. The overridden function will have the different definition from the base function.

Override example. 
Share this post :

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar