1 /******************************************************************************
2 Style Guidelines:
3 * Readability - code is easy to read and to understand
4 * Standardisation - all team members are aligned with same code style
5 * Self-descriptive code - code is easy to understand without comments
6 * Debuggable - code is easy to debug (IDE friendly)
7 ******************************************************************************/
8
9 // types are defined within the scope of namespace
10 // space name starts with Upper case letter
11 // each following word starts with upper Case letter
12 // sub-spaces are divided by '.' (dot)
13 // here "MyNameSpace" is main space and "Delegates" is sub-space
14 namespace MyNameSpace.Delegates
15 {
16 /// <summary>
17 /// delegate name starts with Upper case letter
18 /// each following word starts with Upper case letter
19 /// </summary>
20 /// <param name="value">
21 /// parameter name starts with lower case letter
22 /// each following word starts with Upper case letter
23 /// </param>
24 public delegate void MyDelegate(int value);
25 }