Code Wars C# 3 kyu: Texas Hold'em Hands



Intermediate level C# object oriented programming series. Viewers are provided the cards for a Texas Hold ‘Em hand, both the hole cards and community cards. Viewers must determine the best winning hand that can be made, if any. Return the name of the win and the 5 cards used to make it. We will use an abstract base class for making poker hands and subclass it for the various types of wins. So this is a good demonstation of polymorphism and inheritance in action. We’ll also use LINQ heavily, chaining method calls together.

The best way to learn computer programming is by actually writing code. Create a Code Wars account at www.codewars.com/r/3jPbdQ to follow along. No downloads required- you can start coding right away from your favorite browser. Coding challenges can be quite fun too, like puzzles and brain teasers. This challenge may be found at: https://www.codewars.com/kata/524c74f855025e2495000262