Red Underline under final curly brace?

Please format your code , and maybe do some indenting. Visual Studio will do that automatically for you, and it wills how you exactly what is wrong.