<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>my C# notes &#187; B- First C# program</title>
	<atom:link href="http://www.strategyawards2008.com/category/02-c-intro/first-c-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strategyawards2008.com</link>
	<description>my C# notes</description>
	<lastBuildDate>Sun, 08 Mar 2009 08:01:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Your first C# program</title>
		<link>http://www.strategyawards2008.com/2009/03/your-first-c-program/</link>
		<comments>http://www.strategyawards2008.com/2009/03/your-first-c-program/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 05:47:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[B- First C# program]]></category>

		<guid isPermaLink="false">http://www.strategyawards2008.com/?p=73</guid>
		<description><![CDATA[To start, open your MSVS express (Free) or Pro Go to File -&#62; New -&#62; Project Chose Console Application from the icons that appear Name your project HelloWorld &#8212;- You will see MSVS creating a new file for you named &#8220;Program.cs&#8221;, and in that file you should see something like. using System; using System.Collections.Generic; using [...]]]></description>
			<content:encoded><![CDATA[<p>To start, open your MSVS express (Free) or Pro</p>
<p>Go to  File -&gt; New -&gt; Project</p>
<p>Chose Console Application from the icons that appear</p>
<p>Name your project HelloWorld</p>
<p>&#8212;-</p>
<p>You will see MSVS creating a new file for you named &#8220;Program.cs&#8221;, and in that file you should see something like.</p>
<pre>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}
</pre>
<p>Already we have a namespace (Same as project name), a Program Class,<br />
and a program entry point that is always named Main.</p>
<p>So, Add the following line to your Main (Between the currly brackets)</p>
<p>Console.WriteLine(&#8220;HelloWorld&#8221;);<br />
Console.ReadLine();</p>
<p>Now go to the build menu, and then to Build Solution</p>
<p>Now navigate to your Documents directory, In my case on Windows Vista it is<br />
C:\Users\yazeed\Documents\Visual Studio 2008\Projects\HelloWorld\HelloWorld\bin\Debug</p>
<p>and double click HelloWorld.exe</p>
<p>bravo, you are done with your first C# program&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strategyawards2008.com/2009/03/your-first-c-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
