System.Console.In Property

Gets the standard input stream.

Syntax

public static System.IO.TextReader In { get; }

Value

A synchronized System.IO.TextReader object from which user input is received.

Remarks

This property is set to the standard input stream by default. This property can be set to another stream with the Console.SetIn(System.IO.TextReader) method.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0