I created a list<T> that contains a collection of objects that have this properties: X, Y, Z
I want to find out which object in the collection has the greatest Z
I tried to use the Max() function but I don't understand how it's used...
I created a list<T> that contains a collection of objects that have this properties: X, Y, Z
I want to find out which object in the collection has the greatest Z
I tried to use the Max() function but I don't understand how it's used...