nLet’s quickly build a
partial class using operator overloading
to demonstrate the rules and guidelines discussed
nWe will re-examine this
example again next lecture when
discussing user defined type conversions
nThe operations that make
sense include:
ä= for straight assignment
of one list to another
ä>> and << for
insertion and extraction
ä+ and += for concatenation
of two lists & strings
ä!=, == for comparison of lists
ä[] for accessing a
particular string in a list
ä++ for iterating to the
next string