public static long TraLoiCauHoi(CAUHOI P) { Boolean flag = true; BIEUTHUC Q = XuLyBieuThuc.KhoiTao(P.NoiDung); long t = XuLyBieuThuc.TinhToan(Q); for (int i = 0; i < P.TraLoi.Length; i++) { if (t == long.Parse(P.TraLoi[i].NoiDung)) { return(i + 1); } } return(-1); }