Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / sudheer

string.Concat("DotNet","4.0");

Ans:DotNet4.0

Is This Answer Correct ?    14 Yes 3 No

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

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

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

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

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

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

Post New Answer

More C Sharp Interview Questions

What is global namespace in c#?

0 Answers  


Explain the role of Garbage collector and its generations?

0 Answers   MCN Solutions,


What are extensions methods in c#?

0 Answers  


If you want to write your own dot net language, what steps you will u take care?

0 Answers  


What issues can be faced while delivering code?

0 Answers   TCS,


Is post back c#?

0 Answers  


What can we do to handle multiple exceptions?

0 Answers   Accenture,


What is data types in c#?

0 Answers  


Can we create instance for Abstract class?

28 Answers   HCL, Satyam, SoftSol, Wipro,


Practcle scenario where I can use abstract class and where I can use Interface

1 Answers   Jeevan Technologies,


What is JIT (just in time)? how it works?

0 Answers  


without modifying source code if we compile again, will it be generated MSIL again?

0 Answers  


Categories