Get largest number from list of string

studio

#1

Hi, I have numbers stored as strings in a list of strings, and am wondering is there a syntax which can help me get the maximum number?

i.e “1”, “2” are stored in a list of string, and i want the syntax to return “2”


#2

@inyourgravity

You can try,
YourList.Max(function(e) Convert.ToInt32(e))