Invalid character error while copying code from pdf

I've happened to copy a small test code from PDF and while executing, I got the below error. 

System.Windows.Markup.XamlParseException: Invalid character in the given encoding. Line 1, position 13.

The reason is due to Double quotes and it's not a technical bad code :-)

Be careful while copying the code from PDF. Mostly, it won't work due to this kind of simple issues.

Cheers,
Venkatesan Prabu .J
Head - Kaashiv infotech
www.kaashivinfotech.com
Next Recommended Reading Remove Last Character from String in C#