Alternative for regex.unescape in C# for quotes (")
<p>So i am facing a problem here which i am sure has a simple answer but i cannot seem to find it.</p>

<p>I am comparing string data from 2 tables using C# code
When the data is null or empty in both tables, i want the comparison to return "True" which basically means they are identical.</p>

<p>I am using string.IsNullorEmpty for checking null or empty conditions.
The problem is in one table, the string value is <code>""</code> while the other table has the same value escaped and is appearing as <code>"\"\""</code></p>

<p>I assumed using <code>regex.unescape</code> will solve this but it does not seem to be working and i am getting an output that both the values are different causing problems.</p>

<p>One solution i figured out is directly checking if <code>str == "\"\""</code> for solving the problem.</p>

<p>But are there any cleaner options?</p>