I am working on a CSLA project right now and I am wondering if there is a data-structure similar to tuple that is Mobile. I'm looking to use a MobileList<Tuple<int, string>>
but I cannot because the Tuple is not Mobile.
Any suggestions?
If you only need two parameters you could use KeyValuePair
UPDATE:
So as your comment implies, kvp cannot be serialized. You could use the approach from this question if you can live with adding a new type: Is there a serializable generic Key/Value pair class in .NET?