public List <int> this[string strNum] //used to do indexing { get { List <int> indexes = new List <int>(Count()); indexes.Add(CCL.BinarySearch(new CreditCard("", strNum, "", "", ""))); return(indexes); } }