What did it mean these symbols (& ~ |) when use font class
<p>I have the following code</p>

<pre><code>Font oldf;
Font newf;

oldf = this.richText.SelectionFont;

if (oldf.Bold)
  newf = new Font(oldf, oldf.Style &amp; ~FontStyle.Bold);
else
  newf = new Font(oldf, oldf.Style | FontStyle.Bold);
</code></pre>

<p>I know that code, but I don't know what did it mean these symbols &amp;,| and ~ .<br>
is these mean ( and , or , not ) or Am I wrong ?</p>
