Hello all,
I'm starting to pick up C#. I come from a java background so a lot of things look familiar but a few things don't. I'm starting a simple Hello World program using Visual Studio. Here's what I have combined with what VS gave me:
Everything makes sense except for the namespace ConsoleApplication1 part. Do I need that? Can I just have it say "public class Program" like I would in java?Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello World"); Console.ReadLine(); } } }
Also, does anyone know if there's a good C# plug-in for Eclipse?
Thanks



LinkBack URL
About LinkBacks


