/// <summary> /// Checks if a specified user belongs to the friend list. /// </summary> /// <param name="name">The name of the user.</param> public bool IsFriend(string name) => FriendList.Contains(name);
/// <summary> /// Checks if a specified user belongs to the friend list. /// </summary> /// <param name="name">The name of the user.</param> public bool IsFriend(string name) { return(FriendList.Contains(name)); }