Mono Class Library: System.Console Overview | Members

System.Console.In Property

Gets the system's standard input stream.

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

Value

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

Remarks

This property is read-only.

This property can be redirected using the Console.SetIn(System.IO.TextReader) method.

Note: If the application does not have a Console, Console.In behaves like System.IO.TextReader.Null.

Requirements

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