concept static directive in category c#

This is an excerpt from Manning's book C# in Depth, Fourth Edition.
These are just the most prominent features that help improve the signal-to-noise ratio of your code. I could’ve shown using static directives and the null conditional operator in C# 6 as well as pattern matching, deconstruction, and out variables in C# 7. Rather than expand this chapter to mention every feature in every version, let’s move on to a feature that’s more revolutionary than evolutionary: LINQ.
The ability to use enum values directly is particularly useful in switch statements and anywhere you combine enum values. The following side-by-side example shows how to retrieve all the fields of a type with reflection. The text in bold highlights the code that can be removed with an appropriate using static directive.