Can someone help by showing me how to sort a LINQ expression.
I have the following:
.OrderByDescending(item => item.RowKey)
.Select((t, index) => new City.Grid()
{
PartitionKey = t.PartitionKey,
RowKey = t.RowKey,
Row = index + 1,
ShortTitle = t.ShortTitle,
})
I would like to do the following:
1) The first four characters or the RowKey field
2) ShortTitle
I am not sure how to make the appearance on several characters, and also not sure how to make the background look.
source
share