Monday, March 19, 2007 4:07 AM
by
dodyg
Partial Methods - C# 3.0
There is a little know feature of C# 3.0 called Partial method that people just find out recently.
//Definition
partial void partial void onNameChanged();
//Implementation
partial void onNameChanged()
{
//method body
}
This partial method implementation will only work if it belongs to a Partial class definition. Galiv has more
info on this and Luke, a dude from the C# 3.0 compiler team
confirmed that they will be including this feature in C# 3.0 Beta version.