Visual Studio has ways to automatically create a method. For example, you could double click on a button in the designer to create an event handler method or you could use the dropdown boxes at the top of the code editor to create an override or an event handler.
For me, these methods seem to never place the new method at a reasonable place in the code. For example, at the end of the source file would seem reasonable. But there must be some reasoning behind how these operations work. How can I understand what Visual Studio is doing and take advantage of it to minimize the frustration. (My current strategy is to avoid the ways that automatically create these methods and just type them where I want them in the first place!)