NAnt SDK Documentation - v0.92 |

# TargetCollection.ToString Method ()

Gets the names of the targets in the TargetCollection combined into one comma-separated list.

[Visual Basic]
Overrides Overloads Public Function ToString() As String
[C#]
public override string ToString();

#### Return Value

A String that contains a comma-separated list of the names of the targets in the TargetCollection.

#### See Also

TargetCollection Class | NAnt.Core Namespace | TargetCollection.ToString Overload List