I have a code that opens file using filestream as below:-
using (var stream = new FileStream("abc.txt", FileMode.Open, FileAccess.ReadWrite))
I do not want to have it in any any directory rather I want it in embedded resource. I just copied the file in solution explorer and changed build action to embedded resource, now what should I do next to get it worked and achieve similar code behavior as above! Thanks