C# : How to add an email attachment from a byte array?
<p>I have a byte[] which is a file, and I would like to send it as an attachment using System.Net.Mail. </p>

<p>I noticed the attachment class has 1 overload which accepts a stream. </p>

<pre><code>Attachment att = new Attachment(Stream contentStream,string name);
</code></pre>

<p>Is it possible to pass the byte[] through this overload?</p>
