using System;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
var str = @"test \ is this some\path\to\something";
Console.WriteLine("STRING BEFORE: '" + str + "'");
str = str.Replace(@"\", "");
Console.WriteLine("STRING AFTER: '" + str + "'");
}