Show / Hide Table of Contents

    Class Console

    Writes the specified data, followed by the current line terminator, to the standard output stream.

    Inheritance
    Object
    Console
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: System
    Assembly: mscorlib.dll
    Syntax
    public static class Console
    Remarks

    The default line terminator is a string whose value is a carriage return followed by a line feed ("\r\n" in C#, or vbCrLf in Visual Basic). In .NET nanoFramework this will write to Visual Studio Output window.

    Methods

    | Improve this Doc View Source

    Write(String)

    Writes the specified string value to the standard output stream.

    Declaration
    public static void Write(string value)
    Parameters
    Type Name Description
    String value

    The value to write.

    Remarks

    In .NET nanoFramework this will write to Visual Studio Output window.

    | Improve this Doc View Source

    WriteLine()

    Writes the current line terminator to the standard output stream.

    Declaration
    public static void WriteLine()
    Remarks

    In .NET nanoFramework this will write to Visual Studio Output window.

    | Improve this Doc View Source

    WriteLine(String)

    Writes the specified string value, followed by the current line terminator, to the standard output stream.

    Declaration
    public static void WriteLine(string value)
    Parameters
    Type Name Description
    String value

    The value to write.

    Remarks

    In .NET nanoFramework this will write to Visual Studio Output window.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX