C# - Simple Console Hello World - Printable Version +- (wL) Forums (https://war-lords.net/forum) +-- Forum: Resources (https://war-lords.net/forum/forum-31.html) +--- Forum: Programming (https://war-lords.net/forum/forum-33.html) +--- Thread: C# - Simple Console Hello World (/thread-7049.html) |
C# - Simple Console Hello World - MindHACKer - Apr 29 2012 Spartacus Wrote:alright what's next?! Hello World?! Tic Tac Toe?!If there's anything I can't say no to, that would be the Holy seek for knowledge. To start developing software you need a Code Developing Environment, & since were using Microsoft C.Sharp language we need to get: (Microsoft Visual Studio 2010)
Now to develop a sample application to demonstrate basics you need to start coding.. Note: Everything I write after "//" will not be compiled when you build your project. Code: using System; //references that will connect you to the OS. Now this simple program is done, and it's only function is to print Hello World on the DOS screen. Now to compile the code, & get a preview of what you've done: Press (CTRL + F5). Output: This would be the simplest program to do, but it should give a very clear idea about the language & the developing environment. You can ask about stuff you didn't understand. |