File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ List of covered sections:
77* [ Method Naming] ( ../csharp/method-naming.md )
88* [ Variable Naming] ( ../csharp/variable-naming.md )
99* [ Namespaces Naming] ( ../csharp/namespaces-naming.md )
10+ * [ Event Handler Naming] ( ../csharp/event-handler-naming.md )
1011
1112Missing something? Please contribute here by reading [ this guide] ( ../docs/CONTRIBUTING.md ) .
Original file line number Diff line number Diff line change 1+ # C# Naming Convention > Event Handler Naming
2+
3+ ## PascalCase
4+ - Capitalize first letter of each word of the event handler
5+ - Begin with the event name then suffix with ` EventHandler `
6+
7+ ``` c#
8+ private void ProductPurchasedEventHandler (object sender , ProductPurchasedEventArgs e )
9+ {
10+ .. .
11+ }
12+ ```
You can’t perform that action at this time.
0 commit comments