Basic memory game translated into C# from VB