Talk:C Sharp 4.0

Latest comment: 5 years ago by RMCD bot in topic Move discussion in progress

Why so much COM edit

Why does this page have so much of an emphasis on COM? There is a large community of C# developers that have nothing to do with COM. COM might be useful for explaning motivation, but the reliance on COM to describe C# functionality seems unnecessarily confusing. For example, I've been using C# for 8 years and do not recall ever seeing any reference to COM in the C# spec (although there could be a few). - ATBS 14Aug09 —Preceding unsigned comment added by 71.112.25.123 (talk) 06:28, 15 August 2009 (UTC)Reply

Optional ref Keyword when using COM edit

Should the example `int x = 0;Increment(ref x);` have the ref in it? It seems to be the opposite of what's stated in the description. Db26 (talk) 01:54, 11 September 2009 (UTC)Reply

Covariance and contravariance edit

This section is identical to the same section in the C# Syntax page.
See its talk page for a discussion on recommended improvements that could also apply to the section here.

-- Forbin1 (talk) 19:49, 27 May 2010 (UTC)Reply

Passed vs Default Optional Parameter edit

I've not yet worked with C# 4.0, nor do I have ready access to a compiler for it, but why would "void Increment(ref int x, int dx = 1){} Increment(ref x, 2);" cause dx to take a value of 3? Wouldn't dx take the passed value of 2? Some explanation would help here. Macavity (talk) 16:42, 25 May 2012 (UTC)Reply

Move discussion in progress edit

There is a move discussion in progress on Talk:C Sharp (programming language) which affects this page. Please participate on that page and not in this talk page section. Thank you. —RMCD bot 21:35, 23 August 2018 (UTC)Reply