Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC#custom equality IComparerSingle-choice MCQ

Sorting with this comparer, where does the null land?

var items = new string[] { "b", null, "a" }; Array.Sort(items, Comparer<string>.Default);