public static void saleAi() { if (ccom == 1) { max = getVal[0]; for (int i = 0; i < getVal.Count; i++) { if (max < getVal[i]) { max = getVal[i]; ccom = 0; csSale obj = new csSale(); obj.sale(); } } } }