using System;
namespace APRON
{
class Class1
{
[STAThread]
staticvoid Main(string[] args) // Our main function
{
// In C# we use // and /**/ for comments!// The comments will then become green like this text..// Console.WriteLine writes a line to the console window.// In this case we add '/n' which means new line..// So this line of code will print text to the screen.. // All we have to do is to add this line of code
Console.WriteLine("Hello Neo..\n");
// You can also try combining text like this..// Console.WriteLine("Hello " + "Neo..");
Console.ReadLine(); // Wait for key to be pressed
}
}
}
Download C# Source Code
I hope you found this Visual C# .Net tutorial useful!
Don't forget to mention Apron Tutorials in your References!