ThreadLocal ThreadLocal는 쓰레드별로 서로 고유한 값을 갖는 컨테이너이다. class Program{ //#1 public static readonly ThreadLocal ThreadLocalRand = new ThreadLocal(() => new System.Random(0), false); public static void Main(string[] args) { //#2 using var threadResults = new ThreadLocal>(true); for(int i = 0 ; i >; if (false == resultContainer.IsValueCreated) ..