Skip to content

Instantly share code, notes, and snippets.

View mookid8000's full-sized avatar
💭
Pressing buttons.

Mogens Heller Grabe mookid8000

💭
Pressing buttons.
View GitHub Profile
Dictionary<string, bool> usedGuids = new Dictionary<string, bool>();
private string CreateUniqueGuid()
{
string newGuid = Guid.NewGuid().ToString();
if (usedGuids.ContainsKey(newGuid))
{
throw new Exception();
}
}
}
}
}
break;
}
}
}
}