I am pretty new to C# and as a practice exercise was trying to convert a console input of Y's and N's into boolean array of true and false (Y=true N=false).

I get the "Only assignment call, increment, decrement, await and new object expressions can be used as a statement" error. Any suggestions?