Extensions.AddQuotes Method

<< >>

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)

Syntax


public static string AddQuotes(
 string str
)

Parameters

str

Type: String

The string.

Return Value

System.String.

Examples

 

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

 

  Returns:

 

   This is a string - "Zera Systems Inc."