I have a text file data.txt
that's embedded in my solution (as described in this SO question).
How do I read the contents of this file as a string? I'm imagining something like this:
string data = Resources["data.txt"];
but that's not the way to do it.