Generate Stream from String in C# December 29, 2014December 25, 2014 Vivek Maskara General 7,563 views This function lets you generate a stream from string in C#. It may be quite handy at times. The function GenerateStreamFromString takes a String s as a parameter and returns an instance of MemoryStream. Share this:TweetShare on TumblrEmail Related Vivek Maskara I am pursuing BTech in Software Engineering from Delhi Technological University. I develop apps, create websites and blog about my app experiences.