Skip to content

Commit

Permalink
Windows 10 Version 1703 - October 2017 Update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnewthing committed Oct 26, 2017
2 parents 9a6af21 + 631fd2f commit e31b2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samples/XamlListView/cs/Model/Contact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static ObservableCollection<GroupInfoList> GetContactsGrouped(int numberO
ObservableCollection<GroupInfoList> groups = new ObservableCollection<GroupInfoList>();

var query = from item in GetContacts(numberOfContacts)
group item by item.LastName[0] into g
group item by item.LastName.Substring(0, 1).ToUpper() into g
orderby g.Key
select new { GroupName = g.Key, Items = g };

Expand Down

0 comments on commit e31b2f4

Please sign in to comment.