S907 — "goto" statement should not be used

Language
C#
Type
Code smell
Severity
Major
Tags
brain-overload

Why is this an issue?

goto is an unstructured control flow statement. It makes code less readable and maintainable. Structured control flow statements such as if, for, while, continue or break should be used instead.

↑ Back to top