Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
Linq Output Value
David Smith
Oct 27 2017 2:28 PM
233
Reply
This linq below is returning the full Key Value Pair [Key, Object] . Can someone help me with the linq to return the Key Value:
var items = dict[dictItem.Key].Skip(i).Take(25).ToList();
CORRECT OUT PUT BELOW:
"[_ColorBlue]]": [{
"Color": "Blue",
"ColorId": "2",
"ColorItem": "Shirt"
}]
WRONG OUT PUT BELOW:
"[_ColorBlue, System.Collections.Generic.List`1[Pentair.Domain.Client.Helpers.Commands.HistoryItem]]": [{
"Color": "Blue",
"ColorId": "2",
"ColorItem": "Shirt"
}]
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
c# Linq Take Selected Records
c# LINQ to Entities does not recognize the method 'Boolean