Skip to content

Instantly share code, notes, and snippets.

@klkucan
Last active December 23, 2017 08:13
Show Gist options
  • Save klkucan/c51ab5a0bfe3bd146f7e7ea0d7ab9c2d to your computer and use it in GitHub Desktop.
Save klkucan/c51ab5a0bfe3bd146f7e7ea0d7ab9c2d to your computer and use it in GitHub Desktop.
use GUID sort array, and return 3 element
oneArray.OrderBy(o => Guid.NewGuid()).Take(3).ToArray();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment