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
StreamReader
adding e.g. Testfile.sql Project Menu -> Properties -> Resources -> Add Existing file
string queryFromResourceFile = Properties.Resources.Testfile.ToString();