Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
"& < > \" \'".Replace("&", "&").Replace("<", "<").Replace(">", ">").Replace("\"", """).Replace("\'", "'");