Saturday, 7 May 2011

Introduction to C#

What is C# ?

C# is intended to be a simple, modern, general-purpose, object-oriented programming language.
Its development team is led by Anders Hejlsberg. The most recent version is C# 4.0, which was released on April 12, 2010.
C# (pronounced "see sharp") is a multi-paradigm programming language encompassing imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
It was developed by Microsoft within the .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270).
C# is one of the programming languages designed for the Common Language Infrastructure.

Features of C#

Some notable distinguishing features of C# are:

  • There are no global variables or functions. All methods and members must be declared within classes. Static members of public classes can substitute for global variables and functions.

  • Managed memory cannot be explicitly freed instead, it is automatically garbage collected.

  • Garbage collection addresses the problem of memory leaks by freeing the programmer of responsibility for releasing memory which is no longer needed.

  • In addition to the try...catch construct to handle exceptions, C# has a try...finally construct to guarantee execution of the code in the finally block.

  • Multiple inheritance  is not supported by C#, although a class can implement any number of interfaces.



  •  

    1 comment:

    1. At least update the page!!

      Latest version is 5.0 released on 15,Aug,2012.

      You have just copied and pasted from wikipedia!!

      ReplyDelete