Lecture overview -- Keyboard shortcut: 'u'  Previous page: Constructors in C# -- Keyboard shortcut: 'p'  Next page: Initialization of class variables -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Classes and Objects - slide 28 : 29

Copy constructors
It is sometimes useful to have a constructor that creates an identical copy of an existing object
die.cs
The class Die with a copy constructor.
The use of copy constructors is particularly useful when we deal with mutable objects