Cuemon .NET Framework
Shuffle(IEnumerable<String>) Method

The values to be shuffled in the randomization process.
Shuffles the specified values like a deck of cards.
Public Overloads Shared Function Shuffle( _
   ByVal values As IEnumerable(Of String) _
) As String
public static string Shuffle( 
   IEnumerable<string> values


The values to be shuffled in the randomization process.

Return Value

A random string from the shuffled values provided.
System.ArgumentNullExceptionvalues is null.
System.ArgumentOutOfRangeExceptionvalues is empty.

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

See Also


StringUtility Class
StringUtility Members
Overload List



| Cuemon is licensed under a The MIT License (MIT)

© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback