Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Char[] to string
Message
 
À
11/08/2005 08:56:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01039893
Message ID:
01040189
Vues:
20
>>Thank you very much. That was exactly what I needed. I was able to reduce my code with quite a few lines.
>
>Talking about code reduction, although in this case you already have a better solution, if you use a variation of "C", as a matter of principle I wouldn't use the same expression on both sides of the assignment. In other words, I think you should replace:
>
>
>myString = myString + ca[i].ToString();
>
>
>with the following:
>
>
>myString += ca[i].ToString();
>
Hilmar,
Yeah yeah I know. I have been picked on because of that before.<s> I am not sure why bet I have never been comfortable using '+=', I guess it is easier for me to read it the other way.

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform