CSharp - String insert and remove

Introduction

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

Demo

using System;
class MainClass// w w  w  .j a va2 s .c o  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