Can someone please tell me that his verification is in the following condition.
if (s.IndexOfAny("\",\x0A\x0D".ToCharArray()) > -1)
It checks if there is any quotation mark, comma \x0A line-feed \x0A or carriage return \x0D in line s .
\x0A
\x0D
s
\x0A is a running hexadecimal string. Equivalent to \n .\x0D is the evacuated hexadecimal carriage return. Equivalent to \r .
\n
\r
\x0A\x0D displays hexadecimal carriage return and line characters.
\x0A\x0D
Source: https://habr.com/ru/post/906956/More articles:Should I prefer to use one memory access for reading or writing? - performanceRemoving an item from a list using a predicate - collectionsHow to work with pixels using Direct2D - direct2dCan the font size be% of the container size in css / css3? - cssCan't figure out ninject (or just the IOC container as a whole) through factory DI? - c #Software accessory for Android on Windows - androidAre there existing Java caching facades? - javasize functions and thread safety in C ++ - c ++Monitoring the print spool without using Interop / Unmanaged Code - c #GWT: how to change row color in GWT Celltable - gwtAll Articles