public static object InvokeWithReflection(this object target, string method, params object[] parameters) { return target.GetType().GetMethod(method).Invoke(target, parameters); }