The list has an object that has the following properties:
public class PropertyDetails
{
public int Sequence { get; set; }
public int Length { get; set; }
public string Type { get; set; }
public int Index { get; set; }
}
The list will be sorted. Sequence.
The list has object values ββas follows:
Sequence = 1 Length = 20 Type = "" Index = 0
Sequence = 2 Length = 8 Type = "" Index = 0
Sequence = 3 Length = 6 Type = "" Index = 0
Sequence = 4 Length = 20 Type = "" Index = 0
Sequence = 5 Length = 8 Type = "" Index = 0
I need a Linq query that will give me List as result
Sequence = 1 Length = 20 Type = "" Index = 20
Sequence = 2 Length = 8 Type = "" Index = 28
Sequence = 3 Length = 6 Type = "" Index = 34
= 4 = 20 = "" = 54
= 5 = 8 = "" = 62
, .