Have a look at the code below:
Did you notice the underscore character ‘_’? This is the discard character.
From the documentation:
Starting with C# 7.0, C# supports discards, which are temporary, dummy variables that are intentionally unused in application code. Discards are equivalent to unassigned variables; they do not have a value. Because there is only a single discard variable, and that variable may not even be allocated storage, discards can reduce memory allocations. Because they make the intent of your code clear, they enhance its readability and maintainability.
This is more than just a placeholder variable. If you try to use the assigned _ value later on in your code, this will fail: