Lecture overview -- Keyboard shortcut: 'u'  Previous page: Everyday Contracts -- Keyboard shortcut: 'p'  Next page: Obligations and Benefits in Sqrt -- 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 16 : 32
Object-oriented Programming in C#
Contracts and Assertions
Contracts: Obligations and Benefits

A give-and-take situation involving a client and a server (supplier) class.

Obligation - May involve hard work

Benefit - A delight. No work involved