Day 32
C# Syntax
In the previous chapter, we created a C# file called Program.cs, and we used the following code to print "Hello World" to the screen:
Program.cs
using System;namespace HelloWorld{class Program{static void Main(string[] args){
Console.WriteLine("Hello World!");}}}
Result:
Hello World!
Comments
Post a Comment