O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Versioning with the new and override Keywords

A large proportion of the software written today is, as mentioned earlier developed by using class libraries often written by other remote programmers. Just like most standalone software applications are upgraded to versions with more features and less bugs, class libraries undergo a similar evolving process. It is a fairly painless process to upgrade to the latest version of the Doom game, but what if you want to upgrade the .NET Framework class library on which your application is heavily dependent. What if the library developers for example didn't like the name WriteLine anymore and changed it to PrintLine in the latest upgrade? You would then have to painstakingly substitute all the WriteLine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required