Pergunta de entrevista da empresa FoodServiceWarehouse.com

What does the lock keyword in c# do?