Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there an quick way to shuffle DynamicNodeList?
Got it! I used this:
Random r = new Random();
for (int n = pagesToList.Count() - 1; n > 0; --n)
int k = r.Next(n + 1);
DynamicNode temp = pagesToList.Items[n];
pagesToList.Items[n] = pagesToList.Items[k];
pagesToList.Items[k] = temp;
Write your reply to:
Image will be uploaded when post is submitted