I came across the following code in c#:
semaphore.Wait();
{
HandleRateLimit(region);
}
semaphore.Release();
(source)
I was wondering, do the brackets around the HandleRateLimit(...)
call have any special meaning? If not, why would someone write code that way?