private static ManualResetEvent mre = new ManualResetEvent(false);
It is not possible to create instances of a static class using the new keyword.
mre
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)