Interesting differences related to structs in containers. In C++ you can perfectly do like this:
#include
using namespace std;
struct Foo
{
int bar;
};
int _tmain(int argc, _TCHAR* argv[])
{
vector v;
Foo foo;
v.push_back(foo);
v[0].bar = 2;
return 0;
}
while in C# you can't:
internal struct Foo
(
Read more... )