I have C# code like this:
if (OldStatus = activityStatus.Complete) or (OldStatus = activityStatus.Cancelled)...
In Delphi I would have written
if OldStatus in (Complete, Cancelled) then...
Is there any equivalent to this use of a set in C# or do I need to spell out each option as above (or use a switch/case). (Sorry if the question is basic; I'm new to C#.)