3
I have a large text (1000 lines) with formatting. Briefly (not this text but I will use an example) I have 2 ways to build it:
StringBuilder sb = new StringBuilder();
sb.append("oi" +
"meu nome" +
"é" +
"Jonny");
Or
sb.append("oi");
sb.append("meu nome");
sb.append("é");
sb.append("Jonny");
at runtime and memory, which would be the most appropriate? Or the two run at the same speed?
I’m using the visual studio 2017.
I think if there is a difference it will be so minimal that you won’t even be able to notice! There are worse things to worry about in an application.
– Marconi