Using C#, I made a variable with the List datatype under system.collections.generic as shown in the screenshot. I am adding a string to the list, but I got this error. Can someone please help me how I make it working? I have been trying to find a solution over a day now…
Yes, in C# or VB.NET for non value types you will need to initialise the variables first.
To add on, for other methods that returns void that is not related to collections, you will need to use the “Invoke Method” Activity. Look up examples on that if you encounter problem trying to invoke methods that returns void.