Browse by Tags

All Tags » C# 3.0 (RSS)

Nested Types

Recently Michael Features blogged about nested types . The title was almost "nested types considered harmful". I don't agree. I don't agree that they're any more harmful than any other C# construct (except goto...). Nested types...

Resharper 4.0 EAP Settings and Installing Latest Build

The 4.0 EAP tends to do a full uninstall before installing (it's pre-beta, pre-alpha even; so it's no wonder). This tends to blow away your settings changes. If that's a pain point for you, the settings are stored in "%userprofile%\application...
Posted by PeterRitchie | 2 comment(s)
Filed under: ,

Upcoming C# 3 Guidance From Microsoft

Mircea Trofin has some design guidelines with regard to some C# 3 language additions (that I assume will make it into a revised Framework Design Guidelines of some sort). They more less agree with the guidelines I published in Code Magazine a while ago...

CoDe Magazine Article.

The January/February edition of Code Magazine includes my article " C# 3.0 Syntax Additions-Design Guidelines ".

Visual C# Developer Center Article

My latest Visual C# Developer Center Article Inferred Typing with Factory Methods as Extension Methods is now online.
Posted by PeterRitchie | with no comments

New warning CS0809 in C# 3 (Visual Studio 2008)

There were several breaking changes (fixes) in C# 3 from C# 2. One is the ability to attribute a member override with ObsoleteAttribute without also attributing it the virtual member in the base class. For example, the following will compile without error...

New Contributor to the C# Developer Centre

A new contributor to the C# Developer Centre has posted a new article. This article goes into great detail about extension methods, what they are and how they're implemented. If you're more than curious about this feature of the soon-to-be-release...
Posted by PeterRitchie | with no comments