Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Allows blocks of unsafe code (like C++/CLI) via the unsafe keyword, support for pointers, Multi-line and intra-line comments .
Iterative for-loops can contain multiple conditionals
The get & Set property may implement separate interfaces. In VB you'd have to define two properties instead: a read-only property implementing one interface, and a write-only property implementing the other interface.
Can use the coalesce operator ?? to return the first non-null value (ex. null ?? null ??1 returns1).
To name a few
Apart from the features differences which are minimal , I like the syntax , I prefer the brackets to the dim end and LINQ especially seems a lot easier in C# . Refactoring also seems more visible to me in C#.