Null Reference Error - Simple process to store values in Array and Display values from Array

Hi
I have created below attached process to save values from 0 to 9 in an array and then display those values in output.

This is running perfectly fine, but at end it is throwing an error

image

Please check program :

Main.xaml (8.7 KB)

Looking forward for help from experts !!!

Regards
Ankit

You need to initialise the array as 9 instead of 10: New String(9){}

@ankswe initialize array to 9

Thanks