C# tertiary operator solve : <p>Can any one tell me the meaning of the below C# code</p>

<pre><code>true? para1:para2;
</code></pre>

<p>For example,</p>

<pre><code>char x = 'A';         
Console.WriteLine(true? x : 0);
</code></pre>

<p>The console prints 65</p>

<p>I do not understand how it works.</p>
