Skip to content

Use a dictionary instead of a list to find a user #655

Open
@SadPencil

Description

var user = connectionManager.UserList.Find(u => u.Name == pInfo.Name);

new Dictionary<string, IRCUser>(StringComparer.InvariantCultureIgnoreCase)

or

new UnsortedUserCollection<IRCUser>()

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions