How to find the highest and minimum value. I have to give 10 toolbox and add 1 value in each. When i press the button. It shows me the Highest and Lowest value. Using If else.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Aug 18, 2015, 6:01 AM
Use list for this -
var max = listMaxMin .Max();//10
var min = listMaxMin .Min(); //1
Afzaal Ahmad ZeeshanPosted Aug 18, 2015, 5:50 AM