ExpansionBase.AddQuotes Method

<< >>

Navigation:  CodeStencil > Custom Library > Class Library > Expansion Namespace > ExpansionBase Class > ExpansionBase Methods >

ExpansionBase.AddQuotes Method

Adds quotes to a string.

Namespace: ZeraSystems.CodeNanite.Expansion

Assembly:  ZeraSystems.CodeNanite.Expansion (in ZeraSystems.CodeNanite.Expansion.dll)

Syntax


public static string AddQuotes(
 string text
)

Parameters

text

Type: String

The text.

Return Value

System.String.

Examples

 

   var myString = "This is a string - " + AddQuotes("Zera Systems Inc.");

 

  Returns:

 

   This is a string - "Zera Systems Inc."

 

 

You can also use the extension method - AddQuotes()