Copyright © Philip M. Parker, INSEAD. Terms of Use.

C# LANGUAGE

Specialty Definition: C Sharp programming language

(From Wikipedia, the free Encyclopedia)

C# (pronounced C sharp) is an object-oriented programming language developed by Microsoft as part of their .NET initiative.

Microsoft based C# on C++ and the Java programming language. Some languages sacrifice RAD (Rapid Application Development) conveniences for power and low-level control. C# was designed as balance between power and development speed.

Program execution

C# does not compile to binary code which can be executed directly by the target computer. Instead, as with Java, it is compiled to an intermediary code which is executed on a virtual machine which is included in the .NET framework. All .NET languages (which includes Visual Basic .NET and Managed C++ as well as C#) compile to this intermediary code called Microsoft Intermediate Language (MSIL). To the casual observer, the resulting program looks like a normal executable and has an ".exe" extension just like a normal application. However, executing the program fails on a computer that does not have the .NET Framework installed.

When the program is executed, the .NET framework compiles the intermediate code into binary code as it is run—just-in-time compilation (JIT). The resulting binary code is stored temporarily (in a memory cache), so if the program uses that portion of code again, the cached version is used. However this is only in effect during the runtime of the program. If a .NET application is run again, this compilation process is done again.

Standardization

Microsoft has submitted C# to the ECMA for formal standardization. In December 2001, ECMA released ECMA-334 C# Language Specification. C# became an ISO standard in 2003 (ISO/IEC 23270). There are independent implementations being worked on, including: More recently, Microsoft has announced plans to add support for generics, templates, partial types and some other new features. Those additions were already proposed for ECMA/ISO standardization.

Example

using System;

namespace Example { public class HelloWorld { private String aString;

public HelloWorld() { aString = "Hello World"; }

public override String ToString() { return(aString); }

public static void Main() { HelloWorld aHelloWorld = new HelloWorld(); Console.WriteLine(aHelloWorld.ToString()); } //Output is:Hello World } }

See also: F sharp programming language

External links

Top     

Anagrams: C# LANGUAGE

Scrabble® Enable2K-Verified Anagrams

Words within the letters "a-a-c-e-g-g-l-n-u"

-1 letter: language.

-2 letters: canulae, lacunae.

-3 letters: anlace, anlage, cangue, canula, cuneal, galena, gangue, glance, glucan, lacuna, lacune, laguna, lagune, langue, launce, uncage, unlace.

-4 letters: alane, alang, algae, angel, angle, canal, clang, clean, clung, galea, gauge, genua, glace, glean, gulag, lagan, lance, lauan, lunge, ulnae, uncle.

-5 letters: acne, ague, alae, alan, alec, alga, anal, anga, cage, cane.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: C# LANGUAGE


Hexadecimal (or equivalents, 770AD-1900s) (references)

43 23      4C 41 4E 47 55 41 47 45

Leonardo da Vinci (1452-1519; backwards) (references)

    

Binary Code (1918-1938, probably earlier) (references)

01000011 00100011 00100000 01001100 01000001 01001110 01000111 01010101 01000001 01000111 01000101

HTML Code (1990) (references)

C #   L A N G U A G E

ISO 10646 (1991-1993) (references)

0043 0023      004C 0041 004E 0047 0055 0041 0047 0045

Encryption (beginner's substitution cypher): (references)

37524635484155354139

Top     



INDEX

1. Anagrams
2. Orthography
3. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.