请教一个问题
如何让这个代码运行?
Random rdm1 = new Random(unchecked((int)DateTime.Now.Ticks));
Random rdm2 = new Random(~unchecked((int)DateTime.Now.Ticks));
------解决方案--------------------产生随机数的..
这样算是运行了不?
Random rdm1 = new Random(unchecked((int)DateTime.Now.Ticks));
Random rdm2 = new Random(~unchecked((int)DateTime.Now.Ticks));
Console.WriteLine(rdm1.Next());
Console.WriteLine(rdm2.Next());