/// <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);
Esempio n. 2
0
 /// <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));
 }