Original Post
Hi guys, I'm use to C(++) and can't really understand what's going on here: while(bRun){ int iSize=ComputeSize(); // my function byte[]=new byte[iSize]; // some stuff; } If a new sized array gets allocated after one iteration of the loop does the original one get cleaned up ? Is what I'm doing safe ? Thanks.