I am writing a server application that can handle multiple connections. When a client connects I stick add it into a collection. What im getting stuck on is when the client disconnects I need the client object to remove itself out of the collection. I am passing the parent collection refrence as a param but the problem is how does the client object know what index it is in the collection?