Hello, I have this code here:
private Func<string, string> RemoveSpecialChars = str => Regex.Replace(str, "[ ./\\-]");
Its complaining (Can not access non-static method Replace in static context) about the call to Replace, because of static context. Whats wrong?
Thanks :)