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 dataview c#?

0 Answers  


What is inumerable?

0 Answers  


What is concrete class in c#?

0 Answers  


What is typeof c#?

0 Answers  


How do I know if executenonquery is successful c#?

0 Answers  


What are object pooling and connection pooling and difference between them?

0 Answers  


What is data type c#?

0 Answers  


Why use “using” in c#?

0 Answers  


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

0 Answers  


What are variables in c#?

0 Answers  


Why do we use partial class in c#?

0 Answers  


What is void method?

0 Answers  


Categories