Vidyalelo
C# Programming · Q31

LINQ (Language

Programming · C# Programming · question 31

Q31

What is the purpose of the OfType operator in LINQ?

A.
Filters the elements of a sequence based on their type
Answer
B.
Returns the number of elements in a sequence
C.
Converts a sequence to a List
D.
Converts a sequence to an Array

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board