Table of Contents

Class Reader

Namespace
SunamoCl
Assembly
SunamoCl.dll

Provides non-blocking console reading with a timeout mechanism using a background thread

public class Reader
Inheritance
Reader
Inherited Members
Extension Methods

Methods

ReadLine(int)

Reads console input for the specified duration and returns all lines entered

public static List<string> ReadLine(int timeOutMilliseconds)

Parameters

timeOutMilliseconds int

Duration in milliseconds to collect input

Returns

List<string>

List of lines entered during the timeout period