Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private static List<AlphaKeyGroup<PhoneContact>> CreateGroups(SortedLocaleGrouping slg)
var list = new List<AlphaKeyGroup<PhoneContact>>();
foreach (string key in slg.GroupDisplayNames)
var k = key;
if (key == "...")
k = "🌐"; // &#x1F310;
list.Add(new AlphaKeyGroup<PhoneContact>(k));
return list;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment