When creating a new C# class I am not certain of what the best logical order for declaring properties, event delegates, functions, function overrides, etc. are and what considerations should be taken into account when deciding on that order.
Typically when creating the code behind class of a WebUserControl I end up placing things in this order:
- Events
- Properties
- Life Cycle Event override functions
- Other functions
Is there a more logical way to do this and what considerations should I be making when deciding on how to order these elements of the class within the class file?