TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
Linq Output Value
Oct 27 2017 2:28 PM
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"
}]
Reply
Answers (
6
)
c# Linq Take Selected Records
c# LINQ to Entities does not recognize the method 'Boolean