Random r = new Random(Guid.NewGuid().GetHashCode()) 转载于:https://www.cnblogs.com/Magicworks/archive/2012/12/12/2814660.html