how to get the greatest value in array?

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Hi,

i have an array like x(1), x(2) ... x(10).
Is there a simple way to get the greatest value?

Thanks
Eric
 
Can you use the SortedList which use (key,value) pair
It sort by Keys and the get either enumarator to move
Hope that help
Nicolas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top