Unlike C++, C, etc there are very few undocumented behavior in C# as opposed to the .NET framework.
All programmers are aware about the dangers comparing floating point numbers…
When doing a code review it is often useful to have a checklist, one par to the checklist normally contains “undocumented behaviour” that shop be spotted and removed.
What undocumented behaviour should be on such a check list for C# and what version(s) of C# are there a program in.
This question was prompted by “How are ambiguous enum values resolved in C#?”, I was surprised by the answer as in my many years as a C# programmer I do not recall coming across any bugs in C# code due to the use of undefined behaviours apart from float point numbers.
I recall from my distant past when I write C++ code, that coding standards etc often had lists of undefined behaviours to be avoided, but have never seen such a list for C#.