I want to create a file using FileStream and then save that file in a variable for further processing. In my code given below i am giving a path C:/t.doc, but all i want to do is to save that t.doc file in a variable without saving it physically in the machine.
FileStream f = new FileStream("C:/t.doc", FileMode.Create);