Extensions.ToJSON Method (IList<String>) CTCT Wrapper Documented Class Library
Converts a list of strings to JSON representation.

Namespace: CTCT.Util
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public static string ToJSON(
	this IList<string> list
)

Parameters

list
Type: System.Collections.Generic.IList<String>
The string list.

Return Value

Returns the JSON representation of the list.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IList<String>. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also