How can i search for Rectangle object in a List<T> using BinarySearch() method of List<T>
.....
as i'm getting this error failed to compare two elements in a array...
the program works fine when the List is of Type String but fails when it's any thing other e.g Rectangle
any help is kindly appreciated
.....
as i'm getting this error failed to compare two elements in a array...
the program works fine when the List is of Type String but fails when it's any thing other e.g Rectangle
any help is kindly appreciated
Comment