在C#开发经验的C ++程序员最常见的还是恶性的错误
问题描述:
什么是最常见的还是恶性的错误时,有经验的C ++程序员在C#开发?
What are the most common or vicious mistakes when experienced C++ programmers develop in C#?
答
-
结构
和类
两个 - 之间的区别一个
使用
别名和的typedef
- 什么时候我的对象得到收集?我该怎么消灭它们的现在的?
- 有多大是一个
INT
? (它在C#实际上定义) - 在哪里是我的链接? (实际上,单确实有一个完整的AOT链接器为某些情况下)
的区别>
- the difference between
struct
andclass
in the two - the difference between a
using
alias and atypedef
- when do my objects get collected? how do I destroy them now?
- how big is an
int
? (it is actually defined in C#) - where's my linker? (actually, Mono does have a full AOT linker for some scenarios)