66

We know C++ is the extension of C language.

I want to know what does the '#' in C# mean?

144

From Wikipedia:

The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a half-step higher in pitch

By coincidence, the sharp symbol resembles four conjoined plus signs. This reiterates Rick Mascitti's tongue-in-cheek use of '++' when naming 'C++': where C was enhanced to create C++, C++ was enhanced to create C++++ (that is, C#).

34

Maybe it's '++' to the next power of two, so four '++++' arranged in a square. :-)

31

it's an allusion to music notes. C# is a tone higher than C. that is, C# is higher than C

[EDIT]

this explains it best(wikipedia):

The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a half-step higher in pitch.[7] This is similar to the language name of C++, where "++" indicates that a variable should be incremented by 1. By coincidence, the sharp symbol resembles four conjoined plus signs. This reiterates Rick Mascitti's tongue-in-cheek use of '++' when naming 'C++': where C was enhanced to create C++, C++ was enhanced to create C++++ (that is, C#).

21

The # represents the fence you need to get over to learn the language when you have a Java background.

12

C#, originally pronounced "See Hash," was so-named because of Anders Hejlsberg's fondness for hash browns. The name was promptly changed when Bill Gates threw a fit because he wanted the name to be somehow related to the recorder lessons he took in grade school and likes to reminisce on.

4
if C# equals CSharp
then # equals Sharp
3

AFAIK, it is derived from the 'music-world', where # is half a tone higher then the note that precedes the #.

(I don't know if i make myself clear here 8)7 )

2

For me the '#' is known as the hash sign, although I think MS would prefer it to be refered to as a sharp. Not having used the language I wouldn't like to say which is the most appropriate sobriquet.

1

Sharp # could be an acronym of

"stackoverflow helps a real programmer"

or the recursive version:

"sharp helps a real programmer"

etc..

While other historians and etymologists believe that:

  • The D language name was already in use
  • The Java language name was already in use
  • It was the more backward compatible, prettiest, meaningful (and less pacman) from an MS "brainstorming" list:

    C~ C C> C C< C= C\ C| C/ C- C* C@ C# C! C" C$ C% C& C( C) ... (truncated 12 pages)

.

0

Obviously when they thought about C# they were not concerned with problems that comes from search engines like Google. 10% of my google search on C# ends up on a musician page. This is sad since online search engines are a vital part of developers tooling.

The same remark applies btw, for the .NET word (millions of site are XXX.net sites).

They really should have choosen some letter only original names I think

0

I think, ++ skews little bit ,overlaps somewhat and becomes #. and there was C in front of it. They couldnt change it before the press release. so it was totally accidental. :)