I need to read 2 files and somehow combine them and response them both as 1.
I don't want to create a new file containing both files text.
This is my code to response my main file,
FileStream fs = File.OpenRead(string.Format("{0}/neg.acc",
Settings.Default.negSourceLocation));
using (StreamReader sr = new StreamReader(fs))
{
string jsContent = sr.ReadToEnd();
context.Response.Write(jsContent);
}
I need my 2nd file to be read right after the main is done.
An easy way to explain it:
lets assume main file contains : "hello"
and 2nd file contains: "what a beautiful day"
my response should be:
"hello"
"what a beautiful day"
Thanks in advance