Cosmos/source2/Users/Matthijs/MatthijsPlayground/Kernel.cs
kudzu_cp 4b35540c5f
2011-02-22 13:42:28 +00:00

25 lines
656 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Sys = Cosmos.System;
namespace MatthijsPlayground
{
public class Kernel : Sys.Kernel
{
protected override void BeforeRun()
{
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
}
protected override void Run()
{
Console.Write("Input: ");
var input = Console.ReadLine();
int xA = 0;
int xB = 13;
Console.WriteLine("Test");
Console.WriteLine((xA + xB).ToString());
}
}
}