title: Bool to string in C#?
body: <p>I run my C# application which is big so I just included a part of the code</p>
  
  <p>My code:</p>
  
  <pre><code>allowGift = Convert.ToInt32(dRow[14]) == 1;
  allowInventoryStack = Convert.ToInt32(dRow[15]) == 1;
  interactionType = InterractionTypes.GetTypeFromString((string)dRow[16]); //Line of error
  </code></pre>
  
  <p>And the error of stack trace</p>
  
  <blockquote>
    <p>System.InvalidCastException: Unable to cast object of typpe 'System.Boolean' to type 'System.String'</p>
  </blockquote>