ya I agree with Ramshri array is reference type and will be stored in heap ..
you can try it with native method by passing reference of array to that ... i hope it will work ..