I’ve been going back and forth between C++ and C# alot in my current job. When switching between languages, certain elements bleed together leading to the same mistakes over and over. Some of mine:
[]) on the type instead of the variable name (eg, int[] whatever in C# vs int whatever[] in C++)") instead of the L prefix to denote UnicodePascalCase instead of the camelCase in our C++ conventionnew, which particularly sucks since it won’t yield a compile error