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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
VerenaJam
NA
94
3.8k
create string builder in a new class using c#
Oct 7 2014 7:27 AM
can anybody tell me how to create a string builder in a new class (say v.cs) which is going to call into main winform(form1.cs) project using c#
I have implemented below codes but it has working properly. I have browsed for whole day but found nothing. So your single threads meant me lots
// codes for my new class say v.cs
StringBuilder _sb= new StringBuilder();
public void v(StringBuilder sb)
{
sb.Replace("s", "A");
sb.Replace("hi","hello"); so on ....
}
// codes for form1.cs
private void button3_Click(object sender, EventArgs e)
{
StringBuilder sb= new StringBuilder(c1Editor1.Text);
v sb = new Jam(sb);
sb.display();
}
Thanks
Reply
Answers (
3
)
how to validate database date is greater than today's date
how to hide or invisible sub menu from menu strip in master