C#
  Home arrow C# arrow The Basics of C#: A "HelloWorld"...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C#

The Basics of C#: A "HelloWorld" Application
By: James Yang
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 26
    2002-01-09

    Table of Contents:
  • The Basics of C#: A "HelloWorld" Application
  • Hello World Example
  • HelloWorld source code explained
  • Simple C# language features
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    The Basics of C#: A "HelloWorld" Application


    (Page 1 of 5 )

    C# is part of Microsoft's evolutionary .NET environment. It has collected the best features and aspects of many other programming languages including Visual Basic and C++. In this article James will show us how to create and compile a simple "HelloWorld" C# console application.C# is a new language introduced by Microsoft and it is included in their new evolutionary .NET environment. It has collected the best features and aspects of many other programming languages including Visual Basic and C++.

    Personally, it's my language of choice from those currently available for .NET, even though my past experiences have been with Visual Basic instead of C++. The reasons I chose C# instead of VB.NET are:
    1. It overcomes and improves on the problems present in other well known programming languages.
    2. It's specifically designed for .NET, meaning that theoretically it will perform better than any of the other .NET languages.
    3. VB.NET is as hard, if not harder to learn than C# and is nothing like Visual Basic 6.
    4. It's new! It gives you the feeling of fresh start.
    In this article I will cover the basics of creating a simple C# application. You will need to have either the .NET framework Beta 2 or release candidate installed on your computer for the examples found in this article to work. You can download the .NET framework for free here

    More C# Articles
    More By James Yang


     

    C# ARTICLES

    - Introduction to Objects and Classes in C#, P...
    - Visual C#.NET, Part 1: Introduction to Progr...
    - C# - An Introduction
    - Hotmail Exposed: Access Hotmail using C#
    - Razor Sharp C#
    - Introduction to Objects and Classes in C#
    - Making Your Code CLS Compliant
    - Programming with MySQL and .NET Technologies
    - Socket Programming in C# - Part II
    - Socket Programming in C# - Part I
    - Creational Patterns in C#
    - Type Conversions
    - Creating Custom Delegates and Events in C#
    - Inheritance and Polymorphism
    - Understanding Properties in C#







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway