SyntaxFix
Write A Post
Hire A Developer
Questions
Just to complete the answer, If you are using the LINQ syntax, you can just wrap it since it returns an IEnumerable:
(from int x in intList where x > 5 select x * 2).FirstOrDefault()