The .NET framework is very interesting — the almost infinite amount of objects you can work with in .NET makes typecasting extremely useful. In this demonstration, I will be showing you sample code from a calculator app I whipped up using C# to give you an example of how useful typecasting can be. In the case of a calculator, you have an array of buttons (0 through 9) which all require similar functions.
Since each of these buttons require similar…

Home
Projects
Hosting
Advertising
About
Archive
Contact
Forums
Subscribe