This is an old thread, but important with the current development of the .NET Framework, C # functions and an increased focus on C # as a game choice.
WPF is almost never chosen as a C # gaming platform. WPF airspace issues scared people pretty quickly. I don’t think that many (if any) main names or main streaming game engines support WPF as a target platform or because of this. WPF makes a great platform for gaming launchers, though!
WinForms, although now in maintenance mode, will still be the right choice for years to come. It is time-tested and stable. From what I saw, even in 2017, WinForms is still the most common platform chosen for developing games based on C #.
Looking at the Steam hardware data , you can see that at the time of writing this answer (July 2017), the 64-bit version of Windows 10 currently dominates the PC gaming platform with a 50% market share, followed by 64-bit 64-bit versions of Windows 7 and 32-bit versions of Windows 8.1 and nearly 7%. All other market shares of OS platforms are so small that it is hardly worth considering anything other than these three.
Given the current state of computer games, WinForms is the most common denominator for all 3 of the best PC platforms. Looking to the future, UWP will be the best target platform for developing C # games, as Windows 7 and 8 will lose a significant share of the Windows 10 market, unless the new platform replaces it. So just by numbers.
If you choose based on the best level of compatibility on the OS platform instead of supporting maximum market share, the choice will be more similar:
- Windows 10: UWP
- Windows 8.1: WinRT or Windows Store
- Windows 7: WinForms
Most of the other answers focus on developing standard Windows applications, but game development is a very different area, and various factors influence your choice, such as the target OS and the fact that your choice of graphical API or game engine is really best suited.
Mike Johnson Jul 18 '17 at 9:48 on 2017-07-18 09:48
source share