Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 00:00:01.6365833
- var sp = Stopwatch.StartNew();
- var arr = new int[1];
- for (int i = 0; i < 1_000_000_000; i++)
- {
- arr[0] = i;
- GC.KeepAlive(arr);
- }
- Console.WriteLine(sp.Elapsed);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement