Can anybody please tell me what its checking in following condition.
if (s.IndexOfAny("\",\x0A\x0D".ToCharArray()) > -1)
\x0A\x0D are escaped hexadecimal line feed and carriage return characters.
It's checking if there is any Quotation Mark ", Comma ,, a Line Feed \x0A or Carriage Return \x0D in the string s.
\x0A is the escaped hexadecimal Line Feed. The equivalent of \n.\x0D is the escaped hexadecimal Carriage Return. The equivalent of \r.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With