Examples with "Un objeto StringBuilder" and their translation in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Almacena cuatro instancias de cada letra del alfabeto inglés en un StringBuilder objeto.
It stores four occurrences of each letter of the English alphabet in a StringBuilder object.
Crear instancias de un StringBuilder objeto llamando a uno de sus seis constructores de clase sobrecargada que se enumeran en la tabla siguiente.
You instantiate a StringBuilder object by calling one of its six overloaded class constructors, which are listed in the following table.
Puede definir explícitamente la capacidad inicial de un StringBuilder objeto de las maneras siguientes
You can explicitly define the initial capacity of a StringBuilder object in the following ways
Puede tener acceso a los caracteres de un StringBuilder objeto usando el StringBuilder.Chars propiedad.
You can access the characters in a StringBuilder object by using the StringBuilder.Chars property.
Fácil de usar si asigna todo el texto a un StringBuilder de objetos y, a continuación, comenzar a modificarlo.
Easy to use if you assign all the text to a StringBuilder object, and then begin to modify it.
Cuando haya terminado de modificar el valor de un StringBuilder objeto, puede llamar a su StringBuilder.ToString método para convertir en una cadena.
When you have finished modifying the value of a StringBuilder object, you can call its StringBuilder.ToString method to convert it to a string.
En el ejemplo siguiente se muestra cómo un StringBuilder objeto asigna memoria nueva y aumenta dinámicamente su capacidad como se expande la cadena asignada al objeto.
The following example illustrates how a StringBuilder object allocates new memory and increases its capacity dynamically as the string assigned to the object expands.
El código crea un StringBuilder objeto llamando a su constructor (sin parámetros) de forma predeterminada.
The code creates a StringBuilder object by calling its default (parameterless) constructor.
Puede utilizar este enfoque si dispone de unas pocas modificaciones; de lo contrario, el costo de trabajar con cadenas inmutable puede anular las ventajas de rendimiento de usar un StringBuilder objeto.
You can use this approach if you have only a few modifications; otherwise, the cost of working with immutable strings may negate the performance benefits of using a StringBuilder object.
El Append método anexa un terminador de línea o una cadena junto con un terminador de línea en un StringBuilder objeto.
The AppendLine method appends a line terminator or a string along with a line terminator to a StringBuilder object.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.