How to check if a variable is between 0 and 100?
<p>I am making something in C# that requires the variable g to be between 0 and 100.  When g is less than 100, one action must be performed  But when it is 100 it needs to perform a different action. Here is the code. It is always displaying the same thing.</p>

<pre><code>if (g &gt; 0 || g &lt; 100) {
            name = "Working";

        }else {
            name = "Done";
        } 
</code></pre>

<p>Any help would be greatly appreciated.</p>
