// Main method begins application execution public static void Main( string[] args ) { // one-dimensional array of student grades int[] gradesArray = { 87, 68, 94, 100, 83, 78, 85, 91, 76, 87 }; GradeBook myGradeBook = new GradeBook( "CS101 Introduction to C# Programming", gradesArray ); myGradeBook.DisplayMessage(); myGradeBook.ProcessGrades(); }
// Main method begins app execution static void Main() { // one-dimensional array of student grades int[] gradesArray = { 87, 68, 94, 100, 83, 78, 85, 91, 76, 87 }; var myGradeBook = new GradeBook( "CS101 Introduction to C# Programming", gradesArray); myGradeBook.DisplayMessage(); myGradeBook.ProcessGrades(); }
// Main method begins application execution public static void Main(string[] args) { // one-dimensional array of student grades int[] gradesArray = { 87, 68, 94, 100, 83, 78, 85, 91, 76, 87, 82, 90 }; GradeBook myGradeBook = new GradeBook("CS101 Introduction to C# Programming", gradesArray); myGradeBook.DisplayMessage(); myGradeBook.ProcessGrades(); Console.WriteLine("\nTecle qualquer tecla para finalizar..."); Console.ReadKey(); } // end Main
// Main method begins app execution static void Main() { // rectangular array of student grades int[,] gradesArray = { { 87, 96, 70 }, { 68, 87, 90 }, { 94, 100, 90 }, { 100, 81, 82 }, { 83, 65, 85 }, { 78, 87, 65 }, { 85, 75, 83 }, { 91, 94, 100 }, { 76, 72, 84 }, { 87, 93, 73 } }; GradeBook myGradeBook = new GradeBook( "CS101 Introduction to C# Programming", gradesArray); myGradeBook.DisplayMessage(); myGradeBook.ProcessGrades(); }
// Main method begins program execution public static void Main() { int[,] gradesArray = {{ 87, 96, 70}, { 68, 87, 90}, { 94, 100, 90}, { 100, 81, 82}, { 83, 65, 85}, { 78, 87, 65}, { 85, 75, 83}, { 91, 94, 100}, { 76, 72, 84}, { 87, 93, 73} }; GradeBook myGradeBook = new GradeBook("C# Programming", gradesArray); myGradeBook.DisplayMessage(); myGradeBook.ProcessGrades(); Console.ReadLine(); }// end Main
// Main method begins application execution public static void Main(string[] args) { // rectangular array of student grades int[ , ] gradesArray = { { 87, 96, 70 }, { 68, 87, 90 }, { 94, 100, 90 }, { 100, 81, 82 }, { 83, 65, 85 }, { 78, 87, 65 }, { 85, 75, 83 }, { 91, 94, 100 }, { 76, 72, 84 }, { 87, 93, 73 } }; GradeBook myGradeBook = new GradeBook( "CS101 Introduction to C# Programming", gradesArray); myGradeBook.DisplayMessage(); myGradeBook.ProcessGrades(); Console.WriteLine("\nTecle qualquer tecla para finalizar..."); Console.ReadKey(); } // end Main