For this example we will be looking at the code below.
The class diagram below represents the readonly field.
Note that even though the hoursWorked field is private, the readonly field goes on the top of both the public and private fields.