title: Using this in an if statement
body: <p>So i'm aware that <code>this</code> is a reference to the class itself, however I can't really tell what it does in an if statement</p>
  
  <p>What does the following code do? </p>
  
  <pre><code>    if(this)
      {
         //Code goes here...
      }
  </code></pre>
  
  <p>I'm fairly sure it is checking if the class is not null, but a further explanation would be great!</p>