July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Extending existing members such as Application and Computer is straightforward because both are implemented as partial classes, so you can add your own partial classes without the need of editing auto-generated code. Previous considerations remain unchanged, meaning that your partial classes’ names need to start with My (such as MyApplication and MyComputer) and that both must be enclosed within an explicit declaration of a Namespace My..End Namespace code block. For example, imagine you want to extend My.Application with a method that associates a file extension with your application so that each time you double-click a file with that particular extension it will be opened by your application. Listing ...