Hot answers tagged

3 votes

Building ASP.Net control from JSON Data

As was mentioned in the comments, there is no need in using Where LINQ since FirstOrDefault accepts a predicate that can be ...
  • 1,591
2 votes

C# lock on string value

Thread 1 and Thread 2 call into StringLock("test"). One of them wins, lets say Thread 1. Thread 1 goes into Monitor.Enter. Thread 2 waits. Thread 1 exits and removes the lock object from ...
  • 4,188
1 vote

Handling resource authorization in a service

From the current context, it seems Requirment was meant for Provider, so instead of ...
  • 5,083

Only top scored, non community-wiki answers of a minimum length are eligible