CSharp examples for System:String Replace
Replaces single quotes with double quotes
using System.Text.RegularExpressions; using System.Reflection; using System.Linq.Expressions; using System.Linq; using System.Collections.Generic; using System.Collections; using System;/* ww w .j a va2 s .com*/ public class Main{ /// <summary> /// Replaces single quotes with double quotes /// </summary> /// <param name="input"></param> /// <returns></returns> public static string Quotify(this string input) { return input.Replace('\'', '"'); } }