Aren't the things you mention rather examples of the contrary, namely examples of unsafe C# constructs which are quite likely to go wrong?Quote:
Originally Posted by TheCPUWizard
For example to use C# "using" you got to implement IDispose correctly whereas in C++ you just give the objects involved value sematics so they get held on the stack and thus get automatically disposed when the method ends.
And Runtime Code Generation sounds very unsafe to me.
I'm not convinced that C# shields you better from programmer mistakes than does pure C++/CLI. Isn't that just a myth?
