c# - Sort String Array As Int -


To sort the group of strings in the form of antras, with the use of iCompair with the URL () The way?

If they are all strings, then why are you using an ArrayList? If you are on Net 2.0 or later, then the list & lt; String & gt; is a better option

If you are on Net 3.5. Or later:

  var results = MyList.OrderBy (o => int.Parse (o.ToString ())) .toList ();  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -