Argument type 'bool' is not assignment to parameter type 'int'
<p>I initialized bool variable like this</p>

<pre><code> bool isActionAt= true;
</code></pre>

<p>But when i try to access i got the different error.</p>

<blockquote>
  <p>Argument type 'bool' is not assignment to parameter type 'int'</p>
</blockquote>

<p>When i give <code>bool isActionAt= "1";</code></p>

<p>then i got this error </p>

<blockquote>
  <p>Cannot convert source type string to target type bool</p>
</blockquote>
