Wednesday, 28 August 2013

how to check if property value of each list member is same

how to check if property value of each list member is same

So say I have a class Student with one property, int Age. Now if I have
List<Student> students, how do I check if the age of all students in the
list is equal?

No comments:

Post a Comment