TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Replace Double Quotes to Single Quotes in C#
Satyapriya Nayak
Dec 04, 2013
82.8
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
In this blog we will see how to replace double quotes to single quotes in TextBox.
private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = textBox1.Text.Replace("\"","'");
}
Replace double quotes to single quotes in csharp
Next Recommended Reading
What is Double Question mark operator (??) in C#