Table of Contents

Method ListToString

Namespace
Gamelogic.Extensions.Algorithms
Assembly
Gamelogic.Extensions.dll

ListToString<T>(IEnumerable<T>)

Returns a pretty string representation of the given list. The resulting string looks something like [a, b, c].

public static string ListToString<T>(this IEnumerable<T> source)

Parameters

source IEnumerable<T>

Returns

string

Type Parameters

T