public void readCardDetails() { for (int i = 0; i < CardDetails.Length; i++) { CardDetails[i] = new CardDetails(); CardDetails[i].CheckCard(); } }
static void Main(string[] args) { CardDetails = new CardDetails(); Console.ReadKey(); }