private static String[] getGroupContacts(String[] tk) { if (tk.Length < 3) { return(str2arr("Missing arguments. Usage: getGroupContacts <userID> <groupName>")); } return(sm.getContactsByGroup(int.Parse(tk[1]), tk[2]).Select(c => c.contactID.ToString() + "\t" + c.externalUserID + "\t" + c.nameContact).ToArray()); }