Differentiate between conversion operator “ienumerable"? And “todictionary"? Of linq?
Answer Posted / Ankita Dubey
"IEnumerable is an interface in LINQ that represents a sequence of elements. It does not provide any methods to perform operations on the collection. Instead, it allows the use of various query operators to manipulate the data. On the other hand, ToDictionary is a method that converts the IEnumerable into a Dictionary by specifying a keySelector and an elementSelector."n
| 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