Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
This error might look a little cryptic at first glance, but it's fairly descriptive in explaining what's wrong. You're likely to come across this one before your first cup of coffee.