Talk:C Sharp Programming/Introduction

C# is a fully object-oriented language?
I think that Lisp, Scheme, Javascript programmers, and others might disagree with the claim that 'C# is a fully object-oriented language'. Functions in C# are not objects. It is not possible to create a new function at run time (delegates don't do it and neither would the trick of currying an existing function by creating an anonymous class at compile time precisely because they happen at compile time). It might be more accurate to say 'C# is a class based language'. See. --kwhitefoot 11:01, 5 May 2006 (UTC)
 * I'm not aware of any universally accepted definition of "fully object-oriented", but if your only issues with the claim are that C# 1.0's functions cannot be objects and that C# 1.0 cannot create new functions at runtime, note that C# 2.0's anonymous methods overcome those deficiencies. Rodasmith 22:45, 5 May 2006 (UTC)
 * Anonymous methods are compiled just like any other method; the method is not created at run time. All that is manipulated at run time is a pointer to the delegate object that implements the anonymous method.  However, that isn't really central to my point.  I was simply pointing out that the use of the word 'fully' in the phrase 'fully object oriented' implies that there is some such definition and that C# complies with it.  As the definition wasn't given it is up to the imagination of the reader to construct one and C# failed to comply with the one my imagination constructed.  If we want to make strong claims, and 'fully' anything is surely a strong claim, we should  be able to back them up.  If we cannot then such statements are vacuous and misleading.  --kwhitefoot 18:14, 8 May 2006 (UTC)

Code example
Hi. I have two problems with the code in the example. Why is "System" in the class when the "using System" is already there? Another thing, why is "Console.ReadLine;" included in the example? Of course "string[] args" isn't necessary either in a basic example. --Stefán Örvarr Sigmundsson 07:37, 18 August 2007 (UTC) using System;

namespace MyConsoleApplication {       class MyFirstClass {               static void Main(string[] args) {                       System.Console.WriteLine("Hello,"); Console.WriteLine("World!");

Console.ReadLine; }       } } Never mind. I noticed that this is explained in the text. --Stefán Örvarr Sigmundsson 07:42, 18 August 2007 (UTC)

using system;

Linux compilers
It seems that DotGNU hasn't been updated since 2007, and is a dead project. Maybe instead the page should point to the mcs compiler that comes with mono? 142.134.91.154 (discuss) 15:10, 11 February 2017 (UTC)