using System;
using System.Collections.Generic;
namespace Chernobyl
{
///
/// Extensions for and related types.
///
public static class StringExtensions
{
///
/// Concatenates the members of a collection, using the specified separator between each member.
///
/// A collection that contains the objects to concatenate.
/// The string to use as a separator. Separator is included in the
/// returned string only if values has more than one element.
/// A string that consists of the members of values delimited by the separator
/// string. If values has no members, the method returns .
public static string Join(this IEnumerable values, string separator = ", ")
{
return String.Join(separator, values);
}
}
}