Skip to content

Instantly share code, notes, and snippets.

🖖
Coding. Always.

huysentruitw huysentruitw

🖖
Coding. Always.
Block or report user

Report or block huysentruitw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f6f10cc1e9a10f2ef9bd5ab18f0b4f47
class Program
{
static ConcurrentDictionary<string, string> dict = new ConcurrentDictionary<string, string>();
static void Main(string[] args)
{
var t1 = new Thread(() =>
{
dict.GetOrAdd("key1", x =>
{
You can’t perform that action at this time.