« first day (4 days earlier)  last day (15 days later) » 

6:02 PM
I realize this will not be a live chat but if you could get back to me whenever you have time I would be super appreciative.
I have a question regarding the post that this came from, for reference
First off, I would store the shuffled cards in a List, or even better, a Queue. This allows you to just "pick off" a card from the deck.

To get the cards and suites, I would create two enums:

public enum Rank
{
Ace,
Two,
Three,
...
}

public enum Suits
{
Hearts,
Spades,
...
}
Now you define your cards such that 0 = aH, 1 = 2H, 13 = aS, and so on.

Now you can do this:

public Rank GetRankForCard(int card)
{
return (Rank)(card % 13);
}

public Suit GetSuitForCard(int card)
{
return (Suit)(card / 13);
That is what was suggested by yourself. I am sorry for the poor formatting as I do not know how to get it inside the text box within this chat
My question is; when I try to carry out the operation listed towards the end of your solution. return (Rank)(Card%13); I run into an error. Type is being used like a variable
When I tried to break down the process I came to the realization that; while I know the way that this process is supposed to work, as we discussed it in great detail, I do not at all know how to use enums to achieve that goal
specifically I do not know how to take a number, 6 for example, and output the 6th element that was defined in my enum. Or maybe I am interpreting what we had talked about completely wrong.
Thank you again for all of your help. I hope that I am not being a burden. Thank you
 

« first day (4 days earlier)  last day (15 days later) »