Click here to Skip to main content
16,022,309 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
c++ came from c by adding ++ to c as c++ uses an increment operator ++.

Then why instead of C# they didn't give it as C+++?

I searched in google but there was no solution for that...
Posted

Found it on Wiki[^]

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

This is similar to the language name of C++, where "++" indicates that a variable should be incremented by 1.

Due to technical limitations of display (standard fonts, browsers, etc.) and the fact that the sharp symbol (U+266F ♯ music sharp sign (HTML: ♯)) is not present on the standard keyboard, the number sign (U+0023 # number sign (HTML: #)) was chosen to represent the sharp symbol in the written name of the programming language.

This convention is reflected in the ECMA-334 C# Language Specification.

However, when it is practical to do so (for example, in advertising or in box art), Microsoft uses the intended musical symbol.
 
Share this answer
 
Comments
Mohamed Mitwalli 22-Aug-12 1:03am    
5+
Prasad_Kulkarni 22-Aug-12 1:13am    
Thank you Mohamed!
ridoy 22-Aug-12 2:36am    
i don't know it..good answer..+5
Prasad_Kulkarni 22-Aug-12 2:46am    
Thank you Ridoy!
Wendelius 23-Aug-12 0:32am    
Nice info.
Hi Dear,


C# is called "C sharp" here '#' means 'Sharp' that denote this language working fast, learning easily and easy understandable code....
 
Share this answer
 
The name "C sharp" was inspired by musical notation where a sharp indicates that the written note should be made a semitone higher in pitch. This is similar to the language name of C++, where "++" indicates that a variable should be incremented by 1.
 
Share this answer
 
v2
Comments
Kuthuparakkal 22-Aug-12 2:54am    
Plz make any comments if any mfker wants to downvote solutions.
Wendelius 23-Aug-12 0:35am    
Nice info! Could be that yu got a downvote because you didn't include the link to the source of the information, who knows :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900