A Function To Concat String Array Values By Specified Delimiter
Let 's Say I have Following Array:
string[] st = new string[5];
st[0] = "Animation";
st[1] = "Action";
st[2] = "Romance";
st[3] = "Drame";
st[4] = "Comedy";
Now I want to Merge all of it with ',' Delimiter Like Below:
Output : Animation,Action,Romance,Drame,Comedy
We will Call it Like This:
string str = GetAllStringsFromArrary( st,",");
Check here for better understanding: [snipped]