public static void AddDebug (char _c) { int index = Interlocked.Increment (ref count); ms_buffer [index % ms_buffer.Length] = _c; }