public static string ExceptionWrap(Func<string> function) { try { return function(); } catch (Exception e) { return null; } } }