I have this class called Hero that has the following attributes. String is for letters, int for numbers, etc. What can I use if I'm going to be saving an image there?
public class Hero
{
[Hero class's attributes (non-image related]
public byte[] Portrait { get; set; }
public byte[] Screenshot { get; set; }
}
Portrait and Screenshot are going to be .png or .jpg files. Should I use a byte[] array for them? I'm a bit confused.
LOL, nevermind. I figured out my error. I had to use System.WINDOWS.Media.Imaging. Go figure.