4 ms·
Just filling in some default fields in the tio editor would do. For example pre-fill the header as: using System; using System.IO; and pre-filling Code
by eterm 9y ago
Just filling in some default fields in the tio editor would do.
For example pre-fill the header as:
using System;
using System.IO;
and pre-filling Code with
namespace example
{
public class Example
{
static void Main(){
}
}
}
(But better names, my naming sucks!)
That would go a long way, then you could just add "Console.WriteLine("Hello World"); for hello world.
- milesdyson_phd 9y agoYou don't even need the namespace or the usings if you just want to print hello world either.
- solidsnack9000 9y agoWhat does the minimal program actually look like?
- driekwartappel 9y agoThis looks like the minimal: class HelloWorld { static void Main() { System.Console.Write("Hello world!"); } } Try it online: https://tio.run/##Sy7WTc4vSv3/PzknsbhYwSM1Jyc/PL8oJ4WrmktBobgksSQzWaEsPzNFwTcxM09DEygIkgCC4MriktRcPef8vOL8nFS98KLMklQNJbABCuUgExSVNK2BSmu5av//BwA https://tio.run/##Sy7WTc4vSv3/PzknsbhYwSM1Jyc/PL8oJ4WrmktBob...