Quote:C# " } expected error "
With proper tools, you should have spot the problem in matter of seconds.
Learn to indent properly your code, it show its structure and it helps reading and understanding. It also helps spotting structures mistakes.
Professional programmer's editors have this feature and others ones such as parenthesis matching and syntax highlighting.