Riccio <ri*****@snap.it> wrote:
Project/add/existing item/File type *.* --> temp.txt
how to read temp.txt
Salvador's answer is fine for "content" resources, but I'd suggest
making the file an embedded resource unless it actually needs to be
changed after build. Then you can use
Assembly.GetManifestResourceStream to open a stream, and wrap a
StreamReader round it. It makes life easier if you only have to copy
the assembly around, rather than other files as well :)
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too