title: How to properly escape the content of a <code> example in Xml documentation?
body: <p>Which would be the way to escape VB's and C-Sharp illegal characters like <code>&lt;&gt;&amp;</code> in a <code>&lt;code&gt;</code> tag of .Net Xml documentation?.</p>
  
  <p>In this example below, <strong>Intellisense</strong> highlights the <code>&gt;</code> character because I need to escape it, it says the code will not be included when generating the documentation because that reason.</p>
  
  <pre><code>''' ------------------------------------------------------------------------
  ''' &lt;summary&gt;
  ''' &lt;/summary&gt;
  ''' ------------------------------------------------------------------------
  ''' &lt;example&gt; This is a code example.
  ''' &lt;code&gt;
  ''' 
  ''' Dim currentPosition As Long = CLng(player.Position.TotalMilliseconds)
  ''' 
  ''' If Not ((currentPosition + 5000) &gt;= player.Length) Then
  '''    player.Seek(currentPosition + 5000)
  ''' End If
  ''' 
  ''' &lt;/code&gt;
  ''' &lt;/example&gt;
  ''' ------------------------------------------------------------------------
  Sub Something
  End Sub
  </code></pre>
  
  <p>Then, how I should escape the code content?.</p>
  
  <p>I have the doubt because the content of <code>&lt;code&gt;</code> tag is treated as literal text, then if I add a <code>CDATA</code> tag to avoid an IntelliSense error what will happens when I'll generate the Chm/Html file with that documentation?, I mean the <code>CDATA</code> markup symbols will be represented as liter text in the code example causing residuous in this way, or what?.</p>
  
  <p>Someone could provide an example to do things right?.</p>