![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Test of Object-oriented Programs - slide 17 : 35 |
// Find the largest element in table in between the indexes from and to. // Return the index of this element. // Precondition: 0 <= from <= to <= table.Length-1 public int FindMaxIndex<T>(T[] table, int from, int to) where T: IComparable<T> { ... }