daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         public void Test()
  2.         {
  3.             var list = new List<string>().AsEnumerable();
  4.             if(list.Any())
  5.             {
  6.                 var l2 = new List<string>(list);
  7.             }
  8.  
  9.         }
  10.  
  11.  
  12.         public void Test2()
  13.         {
  14.             var layers = new List<string>().Select(m => m);
  15.             if(layers.Any())
  16.             {
  17.                 config.Overlays = layers.ToList();
  18.             }
  19.         }
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