error C2275: 'System::Random' : illegal use of this type as an expression
Iget this mistake if I try to build smt like this
int Number = System::Random::Next(0,4);
do I have to do it like this?
Random^ rnd = (gcnew Random); Number = rnd->Next(0,4);
thx