string test(string s[]){ string t=""; for(int i=0;i<2;i++){ t+=s[i]; } return t;}
string t="";
for(int i=0;i<2;i++){
t+=s[i];
}
return t;
public static extern string test(string[] s); static void Main(string[] args) {
string[] city = { "London ", "San Francisco " }; string temp = test(city); Console.WriteLine(temp); Console.ReadKey();
string[] city = { "London ", "San Francisco " };
string temp = test(city);
Console.WriteLine(temp);
Console.ReadKey();