public static void Remove(ulong sid) { ListFriendRequests listFriendRequests = ListFriendRequests.list.Find((Predicate <ListFriendRequests>)(x => (long)x.sid == (long)sid)); ListFriendRequests.list.Remove(listFriendRequests); }
public static void Add(string name, ulong sid, string status = "Offline") { ListFriendRequests listFriendRequests = new ListFriendRequests(name, sid, status); ListFriendRequests.list.Add(listFriendRequests); }