Question: what is difference between first and single in linq?
Answer: First() is slightly more efficient because it doesn't bother checking to see if there is a second item. The only difference is that Single() expects there to be only one item in the enumeration to begin with, and will throw an exception if there are more than one. You use .