The text of this article is not in this database — only its details are. Read it on the old site: Strings in C#: Part 1
6 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Strings in C#: Part 1
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
PrahaladPosted Aug 8, 2012, 12:15 PM
Thats cool..
Kundan GuptaPosted Aug 11, 2011, 6:15 AM
Very Nice..
Guest UsereditedPosted Aug 5, 2011, 3:14 PMEdited Aug 5, 2011, 3:15 PM
This line of code: string str8 = string.Concat(str6 + " " + str7 + " " + "String 8"); should be shortened to this: string str8 = str6 + " " + str7 + " " + "String 8"; There's no need to call Concat() if you're already using the + operator. With Concat() you'd have to call it like so: string str8 = string.Concat(new string[]{str6, " ", str7, " ", "String 8"});
Rohatash KumarPosted Aug 3, 2011, 12:45 AM
Good article for beginners. thanks