SHARE
TWEET

Untitled

a guest Dec 8th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static void Main(string[] args)
  2.         {
  3.             var arr = new[] { new[] { 1 } };
  4.  
  5.             var queryable = arr.AsQueryable();
  6.             var result = queryable
  7.                 .Select(x =>
  8.                 {
  9.                     return x.FirstOrDefault();
  10.                 })
  11.                 .ToList();
  12.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top