ArrayExtensions GetRandom T  Method (IEnumerable T )Couchbase .NET SDK 2.0

[Missing <summary> documentation for "M:Couchbase.Utils.ArrayExtensions.GetRandom``1(System.Collections.Generic.IEnumerable{``0})"]

Namespace: Couchbase.Utils
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static T GetRandom<T>(
	this IEnumerable<T> list
)

Parameters

list
Type: System.Collections.Generic IEnumerable T 

[Missing <param name="list"/> documentation for "M:Couchbase.Utils.ArrayExtensions.GetRandom``1(System.Collections.Generic.IEnumerable{``0})"]

Type Parameters
T

[Missing <typeparam name="T"/> documentation for "M:Couchbase.Utils.ArrayExtensions.GetRandom``1(System.Collections.Generic.IEnumerable{``0})"]

Return Value

Type: T

[Missing <returns> documentation for "M:Couchbase.Utils.ArrayExtensions.GetRandom``1(System.Collections.Generic.IEnumerable{``0})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable T . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also