« Timesaver: Awesome New C# Property Syntax Shortcut | Main | Linked In recommendations: Your job happiness Barometer »

March 04, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54ee5d547883300e55093baae8833

Listed below are links to weblogs that reference Strange C# 3.0 Feature: Partial Methods ... ... What ?!!:

Comments

Egil Hansen

Interesting, so when would you use this instead of interfaces? Only during development like a to do list, or in libraries/abstract classes as well?

Either way, they are no interface replacement simply be cause of the two conditions listed above.

Mark Heath

I think this feature is intended mainly for automatic code generation, where a tool makes one half of the partial class, and allows the user to implement partial functions if they want to.

dann

I didn't know about this feature and this article is presenting it quite well. Probably it can be useful when writing a code generator. For daily tasks I think is better to use the standard programming ways (interfaces or throwing a NotImplementedException)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Feeds

Pages