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

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -