I have function which accepts string (which is basically a XML doc). I am making this change:
  if (filterXml.Contains("&"))
    {
        filterXml.Replace("&", "&");
    }
It is hitting this condition but not replacing the
 & to &
What is wrong here?
 
     
     
     
     
    