public static void TestVolatile() { var c = new VolatileTest(); c.Test(5); Assert.AreEqual(5, c.i); }
static void Main(string[] args) { // LockTest.AsyncWithRedisLock(); VolatileTest.Execute(); Console.ReadLine(); }