Lecture overview -- Keyboard shortcut: 'u'  Previous page: Passing references as value parameters -- Keyboard shortcut: 'p'  Next page: Reference Parameters -- 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    Data Access, Properties, and Methods - slide 23 : 29

Passing structs as value parameters
There are no surprises when we pass struct values as value parameters
The struct Date and the method DayDifference with a value parameter.
The class Person which calls DayDifference on dateOfBirth.
A client of Person and Date which reveal the consequences.
Client program output.
Go to exercise
Passing struct values as ref parameters
There is a good fit between use of value types and call-by-value parameter passing