I'm learning C# and I'm currently playing with Monogame. What I'm trying to do is declare a public instance of the System.Random class called "randVar" in my Game1 class and then access it from my Testz (derived from Sprite) class. This is not working, it tells me "The name 'randVar' does not exist in the current context.' I'm scratching my head trying to figure out why, because randVar is public I thought I should be able to access it.
My sourcecode is https://gist.github.com/4225880.