To give some background I'm trying to solve the Project Euler [Problem 54](https://projecteuler.net/problem=54) involving poker hands. Though there's infinite approaches to this. What I would like to do is enumerate through a list of strings, for example:
{ "8C", "TS", "KC", "9H", "4S" };

I would like to "get" an instance of class card with properties value, and suit, for each respective string. I've not yet utilized get/set so maybe there is an obvious approach to this I'm missing.

Ultimately I would like to have a list of objects type Card, I don't mind building all the card's ahead of time, such that "2H" returns an instance of type Card where suit = Hearts, and value = 2, for example. 

I know this code is wrong, but it should give an idea of what I'm trying to do. Any suggestions would be appreciated.

```
class Card
{
    public string suit;
    public int value;
    public string cardname
    {
        get 
        { 
            if (cardname == "2H") Card TwoH = new Card();
                TwoH.suit = "Hearts"
                TwoH.value = 2;
                return TwoH; 
        }
    }
}

```