using System;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
StringBuilder sb = new StringBuilder("This is an example of string builder replace method");
sb.Replace("method", "function");
Console.WriteLine(sb); // This is an example of string builder replace function
}
}
}
/*
run:
This is an example of string builder replace function
*/