C#C
C#3y ago
jakub

❔ As loop value increments, increment variable name

I have a loop to insert values into 5 objects of employees named employee1,employee2...

Is there a way I can make the loop update the number in the variable name after each iteration?

I am very new to C# so I am looking for any sort of help.
Was this page helpful?