Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NList<T> Class / Shuffle Method

In This Topic
    Shuffle Method (NList<T>)
    In This Topic
    Randomly repositions the elements in this list using the Fisher-Yates algorithm AKA the Knuth Shuffle. It runs in O(n) time and shuffles in place, so it's better performing than the "sort by random" technique.
    Public Sub Shuffle() 
    Dim instance As NList(Of T)
    public void Shuffle()

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also