.net core 多线程下使用 Random 会出现的bug
先看原文: Working with System.Random and threads safely in .NET Core and .NET Framework https://andrewlock.net/building-a-thread-safe-random-implementation-for-dotnet-framework/
我的结论: .net 6 之前,如果习惯构建了一个静态
先看原文: Working with System.Random and threads safely in .NET Core and .NET Framework https://andrewlock.net/building-a-thread-safe-random-implementation-for-dotnet-framework/
我的结论: .net 6 之前,如果习惯构建了一个静态