O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C.7. Language interoperability issues

Unlike Java's single language platform, C# is just one of the many languages targeted at the .NET platform. There is a possibility that your C# modules will need to interoperate with modules written in other .NET languages. Hence, you should be careful to avoid using keywords in other major .NET languages [5] as identifiers (especially public class members which are visible to other .NET modules).

[5] Since anyone can write a new .NET language and compiler with selected keywords, it is impossible to ensure totally that your identifiers will not clash with any new .NET languages that are yet to be released. It is probably wise to take note of the keywords in VB .NET and J# since these are the other two .NET ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required