String[] search1 = Directory.EnumerateFiles(voiceSource, callId + " "+ separator +"*."+ fileFormat +"")
.Where(file => Path.GetFileName(file).StartsWith( callId + " "+ separator +""))
.Select(path => Path.GetFileName(path))
.ToArray();
Now I would like to copy the following array to the above search1. On the other word, I would like to combine two array.
String[] search2 = Directory.EnumerateFiles(voiceSource, callId + ""+ separator +"*."+ fileFormat +"")
.Where(file => Path.GetFileName(file).StartsWith(callId + ""+ separator +""))
.Select(path => Path.GetFileName(path))
.ToArray();
Please note that search1 may be of zero length. Any help?