<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>How to create a stream from a string in .Net</Title>
      <Shortcut>Howtocreateastreamfromastringin.Net</Shortcut>
      <Description>How to create a stream from a string in .Net [VB.NET]</Description>
      <Author>Robert Richards</Author>
      <HelpUrl>/PreviewSnippet.aspx?SnippetID=0e73e03a-99ed-44b3-98fe-6b6c7739581e</HelpUrl>
      <SnippetTypes>
        <SnippetType>SurroundsWith</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <Code Language="VB"><![CDATA[Dim ms As New IO.MemoryStream(System.Text.Encoding.ASCII.GetBytes("Test String"))]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>