I have two List
//Two input string[]
String[] a = {"abc", "cdf"};
string[] b ={"hhh", "ggg"};
//Output string[] c should return as below
string[] c = {"abc:hhh", "cdf:ggg"};
Tried using below code:
var res = a.Zip(b, (n, w) => new { uppercase = n, lowercase = w });
but how to assign this result to output string[] c?