Lecture overview -- Keyboard shortcut: 'u'  Previous page: Static Classes and Partial Classes in C# -- Keyboard shortcut: 'p'  Next page: Objects and Classes -- 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 18 : 29

Constant and readonly variables
Constants and readonly variables cannot be changed during program execution
const-readonly-simple-legal.cs
Legal use of constants and readonly variables.
const-readonly-simple-illegal.cs
Illegal use of constant and readonly variables.