Thoughts on C#, .NET, programming, software development and productivity. Tips and tricks to solve various programming problems.
Solution: use Enumerable.Select with AsEnumerable.
Enumerable.Select
AsEnumerable.
var results = tmp.AsEnumerable() .Select((row, index) => new { row.ContainerID, row.TypeID, ContainerIndex = index });
No comments:
Post a Comment