hello-world icon indicating copy to clipboard operation
hello-world copied to clipboard

Why is C# referred to as 'CSharp'?

Open jgh07 opened this issue 1 year ago • 3 comments

All other languages containing the symbol '#' are represented correctly (e.g. F#).

The name "CSharp" is not a correct way of referring to the language. The specification (ECMA-334) states the following at the bottom of page 27:

The name C# is written as the LATIN CAPITAL LETTER C (U+0043) followed by the NUMBER SIGN # (U+0023).

Is there a specific reason it was decided to use "CSharp" instead of "C#"? Because to me it doesn't make sense considering "special characters" are used all over in file names in this repository.

jgh07 avatar Dec 31 '24 17:12 jgh07

Well, apparently there are three other languages using "Sharp" (TSharp, ZSharp, QSharp). Still, F# and J# are correctly using '#'.

jgh07 avatar Dec 31 '24 17:12 jgh07

Agreed, should be C#.

sancarn avatar Nov 14 '25 01:11 sancarn

If you make a pr ill merge it

MrBrain295 avatar Nov 14 '25 02:11 MrBrain295