allow the double quotes in textbox using pure C#

hi sir,
good evening,
i want to allow the double quotes on textbox by using pure C#. code

sivaji ikkurthiAsked:
Who is Participating?
AndyAinscowConnect With a Mentor Freelance programmer / ConsultantCommented:
They are allowed by default, to stop them you would have to do something specific.  

Try typing them in from the keyboard and when setting text from code you can use code like this:
txtBox1.Text = "Double Quote \" is here and single quote \' here"
AndyAinscowFreelance programmer / ConsultantCommented:
This works
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.