Click or drag to resize

ExtTimes Method (UInt32, ActionUInt32)

Executes the specified Action<uint> delegate n times.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static void Times(
	this uint n,
	Action<uint> action
)

Parameters

n
Type: SystemUInt32
A UInt32 is the number of times to execute.
action
Type: SystemActionUInt32
An Action<uint> delegate that references the method(s) to execute. A UInt32 parameter to pass to the method(s) is the zero-based count of iteration.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UInt32. 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