List of objects plus a tag

Posted by MC on Stack Overflow See other posts from Stack Overflow or by MC
Published on 2010-04-08T17:39:54Z Indexed on 2010/04/08 17:43 UTC
Read the original article Hit count: 270

Filed under:
|

I want to store a list of objects, lets say of type Car, but with an additional 'tag' property eg a boolean True/False which does not belong on the Car class. What is the best way to accomplish this? I need to pass the result between methods.

© Stack Overflow or respective owner

Related posts about generics

Related posts about .NET