A partial type may contain partial methods.
For example:
partial class MyClass { ... partial void MyMethod (decimal amount); } partial class MyClass { ... partial void MyMethod (decimal amount) { if (amount > 100) ... } }
A partial method consists of two parts: a definition and an implementation.
If an implementation is not provided, the definition of the partial method is compiled away.
Partial methods must be void and are implicitly private.