Skip to content

Instantly share code, notes, and snippets.

View huysentruitw's full-sized avatar
👋
Hi there! I'm using GitHub.

huysentruitw huysentruitw

👋
Hi there! I'm using GitHub.
  • Huysentruit
  • Belgium
View GitHub Profile
@huysentruitw
huysentruitw / Program.cs
Created January 25, 2020 21:47
nanoFramework example code
using System;
using System.Threading;
namespace NFApp1
{
public class Program
{
public static void Main()
{
Console.WriteLine("Hello world!");
class Program
{
static ConcurrentDictionary<string, string> dict = new ConcurrentDictionary<string, string>();
static void Main(string[] args)
{
var t1 = new Thread(() =>
{
dict.GetOrAdd("key1", x =>
{