ToString Method

NAnt SDK Documentation - v0.92 |

# TargetCollection.ToString Method

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

#### Overload List

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

> public override string ToString();

Gets the names of the targets in the TargetCollection combined into one list separated by the given String.

> public string ToString(string);

#### See Also

TargetCollection Class | NAnt.Core Namespace