string class : NL getter

Description

Gets a string that represents the new line.

Syntax

stringInstance.NL

Arguments

None

Return value

ClassDescription
stringA string that represents the new line.

Sample code

//anyString is a instance of string type.

string newLine = anyString.NL;

Notes

It's a wrapper of the System.Environment.NewLine.

This getter is a constant. Please note that is not affected by the value of the calling instance.

Links for reference

Copyright © Rice All rights reserved.