# How to modify Game1.cs out of an object it contains? [closed]

Assuming I Have a List<SomeClass> myList; in my Game1-class. It also contains an object of SomeOtherClass otherClass;. How would I modify myList (Add/Remove) out of the otherClass's logic? Or in other words how to get access to the Game1-instance in this situation?

• I consider this a XNA specific question as the Game1-Class might have some methods/functions, other C#-classes do not. – チーズパン Jun 30 '14 at 5:58