Upload

Loading icon Loading...

This video is unavailable.

hello c# programming - by average joe's corner

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like Vancouver FrugalCouple's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike Vancouver FrugalCouple's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add Vancouver FrugalCouple's video to your playlist.

Published on May 1, 2012

http://everydayhowto.blogspot.ca/2012...

How to display Hello World with C#

Well, this is where it begins, C#, a HelloWorld console and Windows form application.

Microsoft has made it super easy for anybody to start programming, but this is really just the beginning. You'll find tons of sweet additions in C#, my favorite is Intellisense, which accurately predicts what I'm going to be typing simply based on a few letters and history of what I've typed. Intellisense was present in Microsoft Visual C++ but really not to this extent, it was pretty much only useful when you had a class with functions or members.

Here's a video that should guide you through how to get started in C#. It gets more interesting later on but let's start by getting our feet wet.

I like to have a recipe for everything, that way its easier to tell where it went downhill. Watch the video to guide you through.

1- Start Microsoft Visual Studio (whichever version, it'll be the same for now). I'm using the Ultimate edition.
2- Click on New Project
3- Select Windows Console Application
4- Type in a name in the application name: I will type HelloWorldConsole
5- Type Console.WriteLine("Hello World!!!") in the main function
6- Press F5 to start debugging or Ctrl-F5 for start without debugging which will keep the screen on after the application exits.

And there you have it. Your own first program. Play around with what you can type in there as well as format just to confirm to yourself that you are in control of C#... for now.




Console applications are fun for beginners but if you want to do something commercial, it's just not awesome enough. I'd go to at least Windows form for something acceptable and make money or make someone happy. Here's a tutorial on how to do Hello World using Windows Form with C#. As you can see, its very simple and that's thanks to Microsoft (i'm a big fan).

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Loading icon Loading...

Loading...
Working...
to add this to Watch Later

Add to