What is the .NET equivalent of StringBuffer in Java?

It’s System.Text.StringBuilder. Note that in modern Java you’d use java.lang.StringBuilder too. (It’s like StringBuffer, but without the synchronization – I can’t remember the last time I wanted the synchronization of StringBuffer. Note that the .NET StringBuilder isn’t thread-safe either, but again, I can’t remember the last time I found that to be a problem.)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)