C# Collections, Lambdas, and LINQ · Delegates | raywenderlich.com

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/604358-c-collections-lambdas-and-linq/lessons/13

Hi all,

Trying to do the MyOperator class, but int he iff statement getting an error when trying to call the variable Operations.

The error is both a CS8370 and CS8598.

Any help would be appreciated.

@bdmoakley Can you please help with this when you get a chance? Thank you - much appreciated! :]

The error is occurring because your != operator has a space in it. You wrote:

Operations ! = null

It should be:

Operations != null

It’s been some time, but I hope it helps.