programming-examples/c-sharp/Functions/C# Program to Print Hello World Without using WriteLine.cs

20 lines
467 B
C#
Raw Normal View History

2019-11-15 12:59:38 +01:00
/*
* C# Program to Print Hello World Without using WriteLine
*/
using System;
class Program
{
static void Main(string[] args)
{
if (System.Console.OpenStandardOutput().BeginWrite(new byte[] { 072, 101, 108, 108, 111, 032, 087, 111, 114, 108, 100, 0 },0, 12, null, null).AsyncWaitHandle.WaitOne())
{
}
if (System.Console.ReadKey().Modifiers == 0)
{
}
}
}
/*
Hello World