I have a class as follows:
public class User
{
    public int ID { get; set; }
    public int PPN { get; set; }
    public User(int id, int ppn)
    {
        ID = id;
        PPN = ppn;
    }
}
Of which I've declared a HashSet of it's type.
HashSet<User> users = new HashSet<User>();
Now, I want to remove the 5th entry in the following method:
    public void Delete() {
      users.Remove(5);
}
But I get the following error:
cannot convert from 'int' to 'User' 
Anybody know what the issue is and how I can resolve this?