string GetTypeArguments (CodeTypeReferenceCollection collection)
{
StringBuilder sb = new StringBuilder (" <");
foreach (CodeTypeReference r in collection) {
sb.Append (GetTypeOutput (r));
sb.Append (", ");
}
sb.Length--;
sb [sb.Length - 1] = '>';
return sb.ToString ();
}