CSharp - String insert and remove

Introduction

Insert and Remove insert or remove characters at a specified position:

Demo

using System;
class MainClass/*from   w  ww.  j  a v a2  s.  co m*/
{
   public static void Main(string[] args)
   {
     string s1 = "helloworld".Insert (5, ", ");
     Console.WriteLine(s1);
     string s2 = s1.Remove (5, 2);
     Console.WriteLine(s2);
   }
}

Result