private static object[] GetObjArgs(List<CseObject> args) { if (args == null) return null; object[] objArgs = new object[args.Count]; for (int i = 0; i < args.Count; i++) objArgs[i] = args[i].Value; return objArgs; } }