Navigation: CodeStencil > Custom Library > Class Library > Expansion Namespace > Extensions Class > Extensions Methods > Extensions.AddQuotes Method |
Surrounds a string with quotes.
Namespace: ZeraSystems.CodeNanite.Expansion
Assembly: ZeraSystems.CodeNanite.Expansion (in ZeraSystems.CodeNanite.Expansion.dll)
public static string AddQuotes(
string str
)
str
Type: String
The string.
System.String.
var myString = "This is a string - " + "Zera Systems Inc.".AddQuotes();
Returns:
This is a string - "Zera Systems Inc."