Inline assignment on IF statement
<p>Is it possible to "short-circuit" assignment and validation into an IF statement..</p>

<p>Something line this..</p>

<pre><code>if ((Match m = Regex.Match(data, pattern)).Success)
{
    Console.WriteLine(m.Groups["myField"].Value;
}
</code></pre>