Things are even simpler than the item markes as answer!
If you click on the file in resources and view the properties window, you can set the File Type to binary.
Then you can access the bytearray in code with a simple
var byteArray = Properties.Resources.FileName;
where FileName is the name of your resource.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…