Strip double quotes from a string in .NET

I think your first line would actually work but I think you need four quotation marks for a string containing a single one (in VB at least): for C# you’d have to escape the quotation mark using a backslash: