Before VS 2017, it was tough
to find out to which block particular
code line belongs. Microsoft introduced the Structure Visualizer in Visual Studio
2017 which draws a vertical line for each
block of code. If you place the cursor on the vertical
line, it displays the block for which
that line belongs to.
Studio 2017 => Create some Windows Application and some class with some
method. Here I have added Employee class with GetSal() method. It displays the
vertical lines as shown below.
If you place the cursor on the vertical line in parallel to #region CallDatabase, it shows GetSal() method as tooltip because this
belongs to GetSal() method only as shown below.