I am working thru the Microsoft cryptographic walkthrough Walkthrough: Create a Cryptographic Application
I get the “Compiler Error Message: CS1513: } expected” and “Error CS1002: ; Expected” and “CS1026: ) expected” errors for the code if (_rsa is null)
.
Looking at the C# language reference for the “is” operator is operator (C# reference) it shows this as a valid usage.
Changing the line to if (_rsa == null)
works, but I’m curious what the issue is?