Click or drag to resize

TableHelperQuoted Method

Quotes the specified value.

Namespace:  TomsToolbox.Wpf
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
public static string Quoted(
	this string? value,
	char separator
)

Parameters

value
Type: SystemString
The value.
separator
Type: SystemChar
The separator.

Return Value

Type: String
A quoted string if the string requires quoting; otherwise the original string.

Usage Note

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