protected void WarmUp(params Action[] actions) { foreach (var action in actions) { action(); GC.Collect(); } }