public UserExists ( List |
||
current_users | List |
|
new_user | string | |
리턴 | bool |
public bool UserExists(List<string> current_users, string new_user)
{
for (int counter = 0; counter < current_users.Count; counter++)
if (current_users[counter].ToLower() == new_user.ToLower())
return true;
return false;
}