Created
February 18, 2020 00:10
-
-
Save hk1ll3r/55e2630e56e5696191ceb725c9589e7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
public static class GenericToStringExts { | |
public static string ToStringExt<T>(this List<T> list) => "[" + string.Join(", ", list) + "]"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment