CSharp examples for System:String Quote
Put a string between double quotes.
using System;/*from w w w. jav a2 s. c om*/ public class Main{ /// <summary> /// Put a string between double quotes. /// </summary> /// <param name="value">Value to be put between double quotes ex: foo</param> /// <returns>double quoted string ex: "foo"</returns> public static string PutIntoQuotes(this string value) { return "\"" + value + "\""; } }