Skip to content

Single Liners

Lewis Page edited this page Mar 25, 2021 · 3 revisions

Writing C# without making a new file

Currently, TLCS doesn't support making multi-line applications in the terminal, however, it is planned to become a feature.

However, If you would like to write a single liner, type tlcs -s "" into the terminal, with your single liner inside the quotation marks. Please note that using this method you are unable to write strings into your C# one-liner. To overcome this, please use the TLCS Terminal.

Here's an example:

tlcs -s System.Console.Beep();

Clone this wiki locally