Hi
I have created a var of string array
assign var(count)=value
this take as per loop
Is this crrct syntax.
It is throwing error
Have you initialized it before adding values? @KarthikBallary
You have to initialize as
var = new string(length of array you want){}
2 Likes
oh ok
what if it is List?
You don’t need to initialise if it is a list
does the synatx remain same
Just change the variable type and then add the value by passing the index to the list
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.