MemoryStream fileStream=new MemoryStream();
StreamWriter outerstr= new StreamWriter(fileStream);
string str= "hehehehe ";
outerstr.Write(str);
outerstr.Flush();
StreamWriter outerstr= new StreamWriter(fileStream);
string str= "hehehehe ";
outerstr.Write(str);
outerstr.Flush();