Brilliant. That was the trick. I am pretty sure that is why JonnyPoet's solution also worked because he was storing a list of objects rather than MyObject. But the casting to Object first does the trick and works perfectly for my situation (where switching the list to store objects is not acceptable).Originally Posted by Mutant_Fruit
Thanks.




Reply With Quote