How to escape < and > inside <pre> tags
<pre>></pre>
renders as:
>
So you want:
<pre>
PrimeCalc calc = new PrimeCalc();
Func<int, int> del = calc.GetNextPrime;
</pre>
which turns out like:
PrimeCalc calc = new PrimeCalc(); Func<int, int> del = calc.GetNextPrime;
How about:
< and >
Hope this helps?
<pre>
PrimeCalc calc = new PrimeCalc();
Func<int, int> del = calc.GetNextPrime;
</pre>
Use <
and >
to do <
and >
inside html.