Lecture overview -- Keyboard shortcut: 'u'  Previous page: Operations on sets -- Keyboard shortcut: 'p'  Next page: The class ObjectSet -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 3 : 21
Object-oriented Programming in C#
Generic Types and Methods
The classes IntSet and StringSet

A set of int and a set of string are very similar

/user/normark/oop-csharp-1/sources/c-sharp/set/short/int/set.csThe class IntSet.


/user/normark/oop-csharp-1/sources/c-sharp/set/short/int/app.csA client of IntSet.


/user/normark/oop-csharp-1/sources/c-sharp/set/short/int/outputOutput from the IntSet client program.


/user/normark/oop-csharp-1/sources/c-sharp/set/short/string/set.csThe class StringSet.


/user/normark/oop-csharp-1/sources/c-sharp/set/short/string/app.csA client of StringSet.


/user/normark/oop-csharp-1/sources/c-sharp/set/short/string/outputOutput from the IntSet client program.


It is tedious to make a maintain both of these classes separately