Class Booleans
Inheritance
System.Object
Booleans
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class Booleans
Methods
ToInt(Boolean)
Converts a boolean to an integer, 1 for true 0 for false.
Declaration
public static int ToInt(this bool b)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | b |
Returns
Type | Description |
---|---|
System.Int32 |