public byte[] ToBytes(bool arrange = true) { using (var icoStream = new MemoryStream()) { ToStream(icoStream,arrange); return icoStream.ToArray(); } }