35 lines
627 B
C#
35 lines
627 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.Eventing.Reader;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using BlackJack;
|
|
|
|
namespace BlackJack
|
|
{
|
|
public class Card
|
|
{
|
|
public Suits Suit;
|
|
public int Number;
|
|
|
|
public Card(Suits suit, int number)
|
|
{
|
|
|
|
Suit = suit;
|
|
if (number < 10)
|
|
{
|
|
Number = number;
|
|
}
|
|
else
|
|
{
|
|
Number = 10;
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
}
|