for(int i=0;i<=5;i++) { string test = hdnDc + i; }
string[] test=new string[5]; string test2=""; for (int i = 0; i < 5; i++) { test[i]="hdnDc"+i; //take it in array or test2 = test2 + " hdnDc" + i; // Concate in single variable }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)