예제 #1
0
 private int FindSpecificCard(int row, int column)
 {
     foreach (var thisCard in CardList)
     {
         var(trow, tcolumn) = GetRowColumnData(thisCard);
         if (tcolumn == column && trow == row)
         {
             return(CardList.IndexOf(thisCard));
         }
     }
     return(-1);
 }