Snippet: StreamReader Variable

property value
IDE Visual Studio
Language C#
Title StreamReader Variable
Shortcut u
Description StreamReader variable declaration.
Snippet Types Expansion
Namespaces System.IO

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
identifier Identifier name sr yes
parameters Constructor parameters stream yes

Code

using (var sr = new StreamReader(stream)) {
	
}