Skip to content

Instantly share code, notes, and snippets.

View ArcticEcho's full-sized avatar
👋
I'll get round to it, eventually.

Sam ArcticEcho

👋
I'll get round to it, eventually.
View GitHub Profile
var leave = false;
while (someCondition && !leave)
{
System.Threading.Thread.Sleep(500);
Application.Current.Dispatcher.Invoke(new Action(() =>
{
if (someOtherCondition)
{
namespace C_Sharp_Benchmarker
{
class Program
{
private static int testIterations = 10000000;
public static void Main(string[] args)
{
var t1 = Test1();
var t2 = Test2();