get max value in a list of struct C#
i have a list of struct in c#. the struct has 5 variables(int doc1,int paragraph1,int doc2,int paragraph2,float similarity). doc1 , paragraph1 represent index of paragraph in doc is related with parag2 in doc2 by this similarity value. It is possible that a paragraph in a document is associated with many other paragraphs with different similarity. i want to have parag2 and doc2 having max similarity.