K
K
kos_dev2017-08-28 05:14:35
.NET
kos_dev, 2017-08-28 05:14:35

Why use StringBuilder if there is interpolation?

Hello. Tell me the difference between such C# components as StringBuilder and $ -sign interpolation

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2017-08-28
@kos_dev

The interpolation is string.Format.
StringBuilder provides an API for efficiently working with string buffers.
Details about StringBuilder:
https://msdn.microsoft.com/en-us/library/system.te...
https://professorweb.ru/my/csharp/charp_theory/lev...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question