Thursday, January 6, 2011

c#


The obligatory example for any language,


using System;public class HelloWorld{public static void Main(string[] args) {.Write("Hello World!");}} Console


You can compile c# using the command line version



C:>csc HelloWorld.cs


and then run the new program by entering


output::::


HelloWorld





No comments:

Post a Comment