Which of the following object is used along with application object in order to ensure that only one process accesses a variable at a time ?

Which of the following object is used along with application object in order to ensure that only one process accesses a variable at a time ?

A. Lock()
B. ThreadLock
C. Synchronize()
D. Synchronize