I am using this code to find the lowest value of a list box,
var low = lowestlow.Items.Cast<object>()
.Select(obj => Convert.ToDouble((decimal.Round(Convert.ToDecimal(obj), 2))));
double llvalue = low.Min();
I want to find the index of the lowest value of llvalue in the listbox lowestlow.
I dont know how to do that.
Can anyone please help me.
Thanks In Advance
try
lowestlow.Items.IndexOf(lowestlow.Items.FindByValue(llvalue))