public Card deal_one_card(List<Card> cards)
{
if (cards.Count() == 0)
{
return null;
}
return cards.RemoveAt(0);
}
I am getting an error when I run this function "Cannot implicitly convert type 'void' to 'Poker.Card'
Can somebody help with me this?
Thanks in advance.