C# own Boolean class to pass bool by refrence
<p>Is it possible to somehow use this class(test.Value is not what i'm looking for):</p>

<pre><code>RefBool test = false;
if (test)
{

}
</code></pre>

<p>This is class body:</p>

<pre><code>public class RefBool
{
    public bool Value { get; set; }
    public RefBool(bool value)
    {
        this.Value = value;
    }

    public static implicit operator RefBool(bool val)
    {
        return new RefBool(val);
    }

}
</code></pre>