LINQ OrderBy is not sorting correctly – stackoverflow.com

I hope someone can prove me wrong here :) If I do this: List<string> a = new List<string> { "b", "c", "a", "aa" }; var b = a.OrderBy(o => o).ToList(); I would expect the result of ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "LINQ OrderBy is not sorting correctly – stackoverflow.com"