摘要: 在Demo项目中,新建文件夹Files,其中放置file1.txt, file2.txt1. file1.txt的BuildAction为content:Stream streamWithContent = Application.GetResourceStream(new Uri("Files/file1.txt", UriKind.Relative)).Stream;String ssWithContent = new StreamReader(streamWithContent).ReadToEnd();2. file2.txt的BuildAction为resourc 阅读全文
posted @ 2012-02-29 15:06 devbian 阅读(325) 评论(0) 推荐(0) 编辑