How do I read an embedded resource (text file) using StreamReader
and return it as a string? My current script uses a Windows form and textbox that allows the
For all the people that just quickly want the text of a hardcoded file in winforms;
Resources..toString();
to read the file.I would not recommend this as best practice or anything, but it works quickly and does what it needs to do.