Talk:C Sharp (programming language)
|This article is of interest to the following WikiProjects:|
|Threads older than 240 days may be archived by.|
|This page was previously nominated to be moved. Before re-nominating, review the move discussions listed below.
implicit with keyword
C# supports strongly typed implicit variable declarations with the keyword
- "strongly, implicitly typed variable declarations" might be better, although it doesn't read well. Eg
var i = 10; // implicitly typed integer
- The type of i is deduced by the compiler from the context, but it is just as strongly typed as if the programmer had specified int explicitly. Mitch Ames (talk) 06:00, 28 April 2013 (UTC)
Sharp Sign Notation
It is extremely common to type C# instead of C♯ because it is easier to type. Even most of the official documentation uses a pound sign instead of a sharp. For example:  (This is even covered in the article under the name section.) Pathogen-David (talk) 15:17, 8 May 2014 (UTC)
At work we don't use the musical symbol when using/writing the language, but use the "#" symbol (shift+3 on keyboard). We pronounce the name "see-hash". But I've also heard "see-sharp" as well. I've never heard it called "see-octothorpe", but that's not to say it isn't. By the way, I believe the "pound sign" is something different (£ - England-currency?) — Preceding unsigned comment added by 188.8.131.52 (talk) 14:18, 14 August 2014 (UTC)
better reference for Gosling quotes in C# article
The source in footnote (reference) 17 quotes a source that quotes a source.
A better reference for the original source is:
Wylie Wong (2002). "Why Microsoft's C# isn't" CNET News, January 17,2002 available online at: http://news.cnet.com/2100-1082-817522.html
I'm not a wikipedia editor. Can soneone please fix this.
Also a more extended and informative quote would include the second part of Gosling's comments:
"They had this problem in their design rules that they had to support C and C++, which means you have to have a memory model where you can access everything at all times. It's the existence of those loopholes that is the source of security, reliability and productivity problems for developers. So on the one hand, they copied Java, and on the other hand, they added gratuitous things and other things that are outright stupid. That's amusing.”
Thank you for the suggestion, I've replaced the reference as suggested. I did not add the entire quote since I felt like it didn't add much to the section, but if someone else sees value in it they can add it.
Also, there are no designated Wikipedia editors. Anyone can edit Wikipedia (except for some protected pages, of course.)
"C Sharp" or "C sharp"
Why does "Sharp" have an upper case "S" - should it be lowercase, per MOS:CAPS? Presumable "Sharp" is not actually part of the official name ("C#"), so there's no need to capitalise it.
If it should be capitalised in the article title because it's a proper noun, then it probably ought to be capitalised everywhere throughout the article, in particular C_Sharp_(programming_language)#Name currently has a lower case "S" in
The name "C sharp" was inspired ...