what is the fastest way to concatenate strings in c sharp?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class sortedlist underneath?

556


What is public, private, protected, internal and internal protected?

523


What are collection classes?

463


What is difference between abstraction and encapsulation in c#?

509


What is data adapter in c#?

464






What does question mark mean in c#?

561


What is COM Interoperability?

548


What is indexer c#?

460


Explain the types of errors in c#?

475


What are c# attributes and its significance?

514


What is difference between continue and break in c#?

473


What do you mean by saying a "class is a reference type"?

505


What is the use of the dispose method in C# ?

536


How do you set a class path?

440


What do you understand by the terms datareader object and dataset object?

525