Verint Interview Question

Implement situation of deadlock in C#