I\'ve tried reading a JPG file using the StreamReader class\' ReadToEnd() method which returns a string.
For some reason though, when I wri
String is designed for holding unicode characters; not binary. For binary, use a byte[] or Stream. Or an Image etc for more specialized image handling.
Despite the name, StreamReader is actually a specialized TextReader - i.e. it is a TextReader that reads from a Stream. Images are not text, so this isn't the right option.