docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Stringify

    Stringify<T>(ICollection<T>)

    Creates a comma separated string of all elements in the collection. Each collection element is implicitly converted to a string and added to the list.

    Declaration
    public static string Stringify<T>(this ICollection<T> collection)
    Parameters
    Type Name Description
    ICollection<T> collection

    The collection to create a string from.

    Returns
    Type Description
    string

    A string with all elements in the collection converted to strings and separated by commas.

    Type Parameters
    Name Description
    T

    The type of objects in the collection.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)