5th July 20215th July 2021Steve Gordon.NETPart 1: Why do we need a StringBuilder and when should we use one? After becoming proficient in .NET and C#, developers are likely to learn that they should use a StringBuilder to optimise string manipulation and concatenation. This is not a hard and fast rule for all situations but is generally good advice if your code combines or modifies strings repeatedly, particularly if the number of modifications is unbounded and not known until runtime. In this post, I ...

Tagi: string
Dziel się z innymi:
How Does the StringBuilder Work in .NET? (Part 1) - Steve Gordon - Code with Steve

Inne 1022 dni, 23 godziny, 32 minuty temu Piotr Stapp 50 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu