SHARE
TWEET

Array to Jagged Array - GroupBy

Hyluss Jun 1st, 2020 (edited) 936 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     private void SetDisassemblyOrder(AssemblyElement[] elements)
  2.         {
  3.             AssemblyElement[][] subarrays = elements.GroupBy(e => e.AssemblySetup.Group).Select(r => r.ToArray()).ToArray();
  4.  
  5.         }
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