Flixel is a free C# (.NET) library based on Adam Saltsman's original Actionscript game library. It's primary function is to provide some useful base classes that you can extend to make your own game objects.