Select from following answers:- Single

- SingleOrDefault
- FirstOrDefault
- First
- All Above
The Single operator returns the only element of a sequence; this method throws an exception if more than one element is in the sequence.
Use the First operator to return the first matching element as a Product, instead of as a sequence containing a Product. This operator will not throw an exception if the set includes multiple matches
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator