Game Instructions

Tap a tile to toggle its color. When a tile changes nearby tiles may change as well. Each move affect multiple tiles. The target is to turn all tiles into yellow in the fewest steps possible.

Press 'j' to show/hide the game. Press 'i' to show/hide the instructions. Press 't' to show/hide the top score table.

Steps: 0

Top Scores

Name Steps
Press J to toggle the game, I to toggle instructions, and T to toggle the top scores

Congratulations!

You solved the puzzle in 0 steps!

Success!

Score submitted successfully!

Error

Failed to submit score. Please try again.

Tuples in C# PRO

Tuples were introduced in .NET 4.0. While arrays hold objects of the same type, tuples can hold objects of different types. The eight different generic Tuple classes are available for the purposes of having tuples with diferent number of types. Once a tuple was created the type of its fields cannot be changed. In a way, using a tuple is similar to using a value type.

The .NET 4.0 includes eight different generic Tuple classes and one static Tuple class that works as a factory for getting tuples. Calling the Tuple.Create() static method we can get a new tuple.

The following video clips explain various aspects related to using tuples in our code. I have just completed to update my C# Fundamentals course at www.abelski.com. You can get the source code as well as more training material about tuples in C# at www.abelski.com.

Share:

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences