Click or drag to resize

SystemExtensionIndicator Method (Boolean)

Get 0 or 1 depending on a Boolean.

Namespace:  WhetStone.SystemExtensions
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static int Indicator(
	this bool this
)

Parameters

this
Type: SystemBoolean
The Boolean to use.

Return Value

Type: Int32
1 if this is , or 0 otherwise.

Usage Note

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