Class UserCollection

UserCollection class

User collection.

public class UserCollection : Collection

Properties

NameDescription
Count { get; }Gets the number of elements actually contained in the collection.
Item { get; }Gets the element at the specified index.

Methods

NameDescription
Add(User)Add the User object in the collection.
Clear()Removes all elements from collection.
GetEnumerator()Supports a simple iteration over a nongeneric collection.
GetUser(int)Gets the element at the specified ID.
GetUser(string)Gets the element at the specified ID.
IsExist(int)Is exist item in the collection.
Remove(User)Remove the User object from the collection.

See Also