Learn Web 3.0 In-Person, Meet Builders and Founders
Become a member
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
TECHNOLOGIES
ANSWERS
LEARN
NEWS
BLOGS
VIDEOS
INTERVIEW PREP
BOOKS
EVENTS
Training
Live
JOBS
MORE
CAREER
MEMBERS
Replace Double Quotes to Single Quotes in C#
Satyapriya Nayak
Dec 04, 2013
70.4
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#