Here is another handy and quick tip that can you help you to avoid accidental copying blank line of code. During the development sometime we hit Ctrl+C (copy) where as we actually wanted to do a Ctrl+V(past) . With this you missed what had been copied, also it copied a blank line. In case of Clipboard Ring feature, you have a blank line copied with in your clipboard cycle and it is difficult to get rid of it unless you do a complete cycle of new selection.
Navigate to Tools -> Options -> Text Editor -> All Languages / C# , under settings unchecked the “Apply Cut or Copy commands to blank lines when there is no selection” checkbox. By default it is checked.
With this option selected , Visual Studio will ignore any copy item to clip board when there is no selection.
This is very handy when it comes multiple copy paste.
Hope this helps !!
Pingback: Dew Drop – January 25, 2016 (#2173) | Morning Dew