Talk:C Sharp (programming language)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
          This article is of interest to the following WikiProjects:
WikiProject Microsoft / .NET (Rated B-class, Top-importance)
WikiProject icon This article is within the scope of WikiProject Microsoft, a collaborative effort to improve the coverage of Microsoft on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
B-Class article B  This article has been rated as B-Class on the project's quality scale.
 Top  This article has been rated as Top-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject .NET (marked as Top-importance).
 
WikiProject Computing (Rated B-class, Mid-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
B-Class article B  This article has been rated as B-Class on the project's quality scale.
 Mid  This article has been rated as Mid-importance on the project's importance scale.
 
WikiProject Computer science (Rated B-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
B-Class article B  This article has been rated as B-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 

implicit with keyword[edit]

C# supports strongly typed implicit variable declarations with the keyword var

Without knowing the form of one of these declarations, I still quibble with calling it an implicit declaration if it uses a keyword. Jmichael ll (talk) 04:40, 28 April 2013 (UTC)

"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[edit]

# notation. since when has it been called C hash? the sharp symbol is used at the start of the article, but gets switched to the octothorpe. 50.125.167.6 (talk) 23:20, 6 May 2014 (UTC)

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: [1] (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 193.167.170.13 (talk) 14:18, 14 August 2014 (UTC)

better reference for Gosling quotes in C# article[edit]

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.”


68.80.26.175 (talk) 23:47, 28 May 2014 (UTC)cherbert@ccp.edu

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.)

Pathogen-David (talk) 00:59, 29 May 2014 (UTC)

"C Sharp" or "C sharp"[edit]

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 ...

175.45.116.66 (talk) 01:17, 25 August 2014 (UTC)

Space Engineers[edit]

@JSG6155: Does this edit refer to this Space Engineers? If so, it should be linked (and italicised). Mitch Ames (talk) 12:39, 26 February 2015 (UTC)