The short answer to your question is definitely no.
The biggest advantage when programming in C # (or Java) is that you donβt have to worry about things like storage location or unclean pointers.
The CLR is not designed for real-time applications in any case, or, in other words, to provide this type of control over equipment, it is intended for a quick application development tool, and it is there that its strength - of course, the price is the inability to control behavior at a low level.
In general, there are no encoding criteria, but there are exceptions, such as using a string builder instead of writing string_Result = string_X + string_Y + string_Z in an iteration.
but it has more to do with proper coding or optimized coding regardless of CLI or C #.
Gy
source share