Exemple #1
0
        public static string totalTuition()
        {
            var list  = Student.getAll();
            int total = 0;

            foreach (Student student in list)
            {
                total += student.tuition;
            }
            return(total.ToString());
        }