I wanted to remove double quotes from a string using C#, How can I do that easily and efficiently?
For Example, I have string : "-10,20", how to get output -> -10,20
Here are few ways to remove double quotes from string using C#
var yourString= "-10,20"; yourString = yourString.Replace('"', ' ').Trim();
Any of the above solutions should work.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly