Encapsulation is defined as the wrapping up of data under a single unit.
It is the mechanism that binds together code and the data it manipulates.
... Encapsulation can be achieved by:
Declaring all the variables in the class as private and using C#
Properties in the class to set and get the values of variables