[Solved] how to declare multiple variable names with loop in c#
[ad_1] Well, if I am interpreting your question right, you can declare an array or list, then initialize these elements in a loop For example (array) (if you want a fix number of elements): int n = 10; // number of strings string[] str = new string[n]; // creates a string array of n elements … Read more