Murach's Visual Basic 2008 How to work with interfaces and generics
Although a Visual Basic class can inherit only one class, it can implement
one or more interfaces. So in this chapter, you'll learn how
to create and implement a Visual Basic interface. You'll also learn
how to use generics so you can code your own collections that
work like the typed collections from the .NET Framework presented
in chapter 8. Along the way, you'll learn how to work with
the generic interfaces that are used with generic collections.
Chapter
19
How
to work with interfaces and generics
How
to work with interfaces
610
An introduction to interfaces
610
Some of the interfaces defined by the
.NET Framework
612
How to create an interface
614
How to implement an interface
616
A Product class that implements the
ICloneable interface
618
How to use an interface as a parameter
620
How
to work with generics
622
How to code a class that defines
a generic collection
622
Some of the generic interfaces
defined by the .NET Framework
First, try our books for 90 days. Then, if you aren't completely
convinced that our books are the best ones you've ever used, you can return them for
a full refund...no questions asked.