Chapter 10. C# operators

Learning about C# operators will be easy for Java developers since most of those in C# have been borrowed from C/C++ and Java. I have listed them in Table 10.1 and made remarks where there are differences. There are a few special operator keywords – typeof, checked, unchecked, is, and as – which should be noted carefully.

Get From Java to C#: A Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.