Book of Red Gate 2010 - Red Gate Software
Book of Red Gate 2010 - Red Gate Software
Book of Red Gate 2010 - Red Gate Software
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Clive's Code<br />
Completion Challenge<br />
Perhaps you’d like to have a go at answering the following<br />
C# questions. Some have a very simple answer and<br />
some have several possible answers, but I hope at least<br />
a few <strong>of</strong> them take a little thought and maybe even<br />
teach you something.<br />
Get all the answers right, put them in an email and send<br />
them to codechallenge@red-gate.com<br />
And there’s mystery prizes on <strong>of</strong>fer. More than one<br />
available!<br />
1. I typed this into Visual Studio and it failed to<br />
compile. Which version was I using?<br />
static void Tree(T first, T second)<br />
{<br />
}<br />
static void Main(string[] args)<br />
{<br />
Tree(1, new object());<br />
}<br />
101