public static void times(this int times, Action action) { for (var i = 0; i < times; i++) action(); }