Learning C# (CSharp)

I have taken up the task of learning C#. I like it, it is a nice cross between Visual Basic and C++.
This post is more a test of ways to post code. My modification of the normal “Hello World” application is below:

[csharp]using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1cs
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(” {0}”, DisplayHelloWorld(”Hello”)) ;
}

static string DisplayHelloWorld(string hello)
{
return “Hello World”;
}
}
}[/csharp]

Be Sociable, Share!

About Brian A. Thomas

I am the father of Ari and Sidd. I am the owner and administrator of this site.
CSharp, Programming, Testing , ,

2 responses to Learning C# (CSharp)


  1. khoa

    can you give me a proSourceCode
    thankyou

  2. Sorry? A copy of what? A Google search of proSourceCode didn’t turn up anything.
    If it is something that one needs to buy, then no, I can’t. For editing code I use Visual C# 2005, Express Edition. This will be available from Microsoft around November 7th for only $50 or so. If that is too much there is C# Studio, which is a free IDE.
    If you are talking about the plugin that I use in WordPress to color the source code, then I used PraColorizer which allows you to post colorized code in WordPress in C#, C++, C, and Java.
    If you mean a pro level C# code… then no. I am not there yet. There are plenty of open source C# projects out there to study however.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">