c# byte array to bitmap

C#
Bitmap bmp;
using (var ms = new MemoryStream(imageData))
{
    bmp = new Bitmap(ms);
}
Source

Also in C#: