List remove question

Posted by younevertell on Stack Overflow See other posts from Stack Overflow or by younevertell
Published on 2010-04-30T04:33:23Z Indexed on 2010/04/30 4:37 UTC
Read the original article Hit count: 180

Filed under:

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

© Stack Overflow or respective owner

Related posts about c#