Hour 17. Interfaces

   

When you've always done something the same way using the same methods, it can be quite difficult to switch gears and think about the solution in a different way. Unless you are a seasoned COM programmer, interface-based programming can be a radical switch from the way you logically design and organize your code.

Interfaces play a crucial role in an object-oriented programming language. So much so that some debates have arisen in which many have argued that if a programming language does not support the use of interfaces, it's not an object-oriented programming language.

In this hour you will learn:

  • What an interface is and why it's useful

  • How to implement some of the defined interfaces within the .NET Framework

  • How to define and implement your own interfaces

  • How to implement interface inheritance

  • How to use interfaces within a client application


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net