C# (C–Sharp)

C# is an object-oriented programming language developed by Microsoft as part of their .NET initiative. Microsoft based C# on C++ and was influenced by some aspects of Visual Basic. C# has a procedural, object oriented syntax that combines aspects of several other programming languages (most notably C++, Delphi, Visual Basic, and Java) with a particular emphasis on simplification (fewer symbolic requirements than C++, less decorative requirements than Java.)

Features

C# is, in some senses, the programming language which most directly reflects the underlying Common Language Runtime (CLR) on which all .NET programs run, and it depends strongly on this framework because it was designed specifically to take advantage of the features that the CLR provides. Most of C#'s intrinsic types all correspond to value-types implemented by the .NET Framework. A common misbelief is that they are garbage-collected, though they are not; they are true value-types and are stack allocated (with an exception for System.Object, and due to interning, System.String). Applications written in C# require an implementation of the CLR to execute, in the same way that VB6 requires a runtime to execute (this is often confused with the JRE, which provides a byte-code interpreter, unlike Java classes .NET programs are 2-pass compiled, stored as first-pass binary code and second-pass compiled at the client workstation. Java programs require a Java Virtual Machine. VB6 Programs require a support library, likewise, .NET programs require a set of support libraries and a core execution environment (which handles the initialization and initial JIT process.)

Compared to C and C++, the language is restricted or enhanced in a number of ways, including but not limited to the following:

Hosted by www.Geocities.ws

1