Roshan Gurung
  • Hello world
  • Programming
    • Clean Coding Principles
    • .NET
      • Get the keys with model state errors in MVC
      • Null Propagation Operator in C#
      • Add objects to a list without using loop
      • Convert an image (selected by path) to base64 string
      • Escape character for & in webconfig settings
    • Database
      • Update with join in mysql
Powered by GitBook
On this page

Was this helpful?

  1. Programming
  2. .NET

Escape character for & in webconfig settings

& is the escape character for &

// Some code
<appSettings>
    <add key="ConfigVal" value="Dev&amp;11" />
</appSettings>
PreviousConvert an image (selected by path) to base64 stringNextDatabase

Last updated 3 years ago

Was this helpful?