List remove question
- by younevertell
List collCustList = new List();
collCustList.Add(new Customer(99, "H", "P"));
I tried
collCustList.Remove(new Customer(99, "H", "P"));
but it doesn't work
How could I remove the new item(new Customer(99, "H", "P")) I just added?
Thanks