what is the fastest way to concatenate strings in c sharp?
Answers were Sorted based on User's Feedback
Answer / manish sharma
through string builder class is the fastest method.we should
use this method if we have to catenate more than 10 strings.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / biruk solomon
The fastest way to concatinate string is to use
StringBuilder object.In StringBuilder object you can use a
method called Append.It has 19 overloaded method to support
different kind of datatype.You can also include your own
type if you override the toString method as you can also
pass objects to this method.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / sudheer
sorry for last post.This is one is faster than previous one.
string str = "DotNet " + "4.0";
| Is This Answer Correct ? | 9 Yes | 3 No |
what is the diference between casting and converting?
Write a program to find the angle between the hours and minutes in a clock
what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
What if an error occurs in Catch block, how can you prevent it?
Explain what is the smallest unit of execution in .net?
How objects are stored in memory?
What are Custom Control and User Control?
Is arraylist faster than linkedlist?
What is data types in c#?
What is the namespcae generally given to the webpage of the .NET Framework ?
What is difference between list and dictionary in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)