using System;
using System.Threading;
public class NonSignaledManual {
public static void Main() {
ManualResetEvent mansig = new ManualResetEvent(false);
Console.WriteLine("ManualResetEvent Before WaitOne ");
bool b = mansig.WaitOne(1000, false);
Console.WriteLine("ManualResetEvent After WaitOne " + b);
}
}