Answer Posted / Deepa Phakaliyal
To return a list from a LINQ query, you can use the ToList() method. For example: `var result = dataSource.Where(x => x.SomeProperty == someValue).ToList();`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category