5 ms·
DO NOT USE!! This is from Visual Studio 2003 and will be a terrible, terrible guide. Yes, that's 2003, over a decade ago. C# programming has moved far away fr
by mattmanser 13y ago
DO NOT USE!!
This is from Visual Studio 2003 and will be a terrible, terrible guide. Yes, that's 2003, over a decade ago.
C# programming has moved far away from the Java inspired boiler-plate of that time (as I assume Java has).
For example the properties tutorial is completely wrong as it doesn't include the new simple syntax which you should be using 95% of the time `public string Name { get; set; }`.
Also the way people use objects in C# has fundamentally shifted, in 2003 people didn't really get OO programming or when it was useful so almost everything was an object, frustratingly so at times.
And of course .net 3.5 & 4 have introduced massive programming paradigm shifts, transforming how you write C# completely, which aren't mentioned here, lambda expressions, async/await and extension methods.
(On top of that MS has never been very good at writing good example code anyway, generally use their code as documentation, not as inspiration. Their 'example' projects are often things to be laughed at, not imitated).