To remove characters from a string:using System;class Sample{ public static void Main() { string s = "rntsoft.com"; s = s.Remove(2, 3); Console.WriteLine(s); }}