yogiman:
A generic method which is used to transform List<T> into a string,
and this is used to test.

Signed-off-by: yogiman <xuyuji9000@163.com>