Is there any way to set what is returned when a variable is requested as is?
<p>Hullo,</p>

<p>For example if I had:</p>

<pre><code>public class Fu
{
    int _bar;


    public Fu(){
        _bar = 12;
    }

    public void Square(){
        _bar *= _bar;
    }
}
</code></pre>

<p>(This is just an example by the way, I know this is the worst possible way of doing what I'm doing.)</p>

<p>Is there anyway that I could go:</p>

<pre><code>Fu _fu = new Fu();
_fu.Square();
Console.WriteLine(_fu);
</code></pre>

<p>and _fu returns 144 instead of the class Fu? Or is that just a ridiculous question?</p>

<p>Regards,
Harold</p>

<p><strong>Edit:</strong> <code>Console.WriteLine(_fu);</code> was a bad example. What if I wanted to do <code>int twelveCubed = 12 * _fu</code>?</p>
