Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximum length of a string variable
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00974763
Message ID:
00974784
Vues:
21
>I can't find any reference to a maximum string length (like I think there was/is in VFP). I ran the following code and it worked:
>
>System.String myString = "";
>for (int i = 0; i< 100000;i++)
>{
>	myString = myString + " ";
>}
>
>That beeing said I would reccomend using the StringBuilder for most string operations (especially the operation I did in the above example <s>)

Ok, this looks good. So far, I was using the TextBox control but this is not the best approach.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform