c# method to join a string from class code example Example: c# join string array var combined = String.Join(",", new String[]{"a","b"}); // a,b