diff --git a/X10D/BooleanExtensions.cs b/X10D/BooleanExtensions.cs
new file mode 100644
index 0000000..8c85799
--- /dev/null
+++ b/X10D/BooleanExtensions.cs
@@ -0,0 +1,22 @@
+namespace X10D
+{
+ #region Using Directives
+
+ using System;
+
+ #endregion
+
+ ///
+ /// Extension methods for .
+ ///
+ public static class BooleanExtensions
+ {
+ ///
+ /// Gets an integer value that represents this boolean.
+ ///
+ /// The boolean.
+ /// Returns 1 if is , 0 otherwise.
+ public static int ToInt32(this bool value) =>
+ value ? 1 : 0;
+ }
+}
diff --git a/X10D/X10D.csproj b/X10D/X10D.csproj
index aaeb3bb..67c97df 100644
--- a/X10D/X10D.csproj
+++ b/X10D/X10D.csproj
@@ -44,6 +44,7 @@
+