Mono csharp

From wikinotes
Revision as of 21:16, 2 November 2019 by Will (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A very nice REPL, includes syntax-highlighting and tab completion!

Documentation

official docs https://www.mono-project.com/docs/tools+libraries/tools/repl/

Install

sudo pacman -S mono

Usage

  • Every statement requires 'Enter'.
  • Every printed line also requires 'Enter'.
csharp
using System;
System.WriteLine("abc");

NOTE:

tab completion selection up/down use arrowkeys, or vi-style Ctrl-(n/p)