What is the difference between “String” and “StringBuilder”? When to use what?

preview_player
Показать описание
1. Full .NET Interview Course (with PDF Book)

C# / ASP.NET Core / MVC / API - Top 500 Interview Questions

Don't worry if course not helping you, Udemy has 30 days Free Refund Policy.

2. Quick Revision Book (PDF format)

Top 500 .NET Interview Questions - OOPS/ C#/ ASP.Net/ MVC/ SQL /.Net Core /Web API

50% Discount Applied on above link.

My best wishes are with you.
Рекомендации по теме
Комментарии
Автор

The best thing about your explanation is side by side comparison along with code ....keep up the good work 👍

VivekSharma-higd
Автор

as you explained, the stringbuilder is always efficient then what is the use of string here

sudharshanreddykasa
Автор

Can you make video on multithreading concepts
?

telugusongs
Автор

how do we prove this? is there any way to print str1, str2 memory addresses before and after modification?

malakawitharana
Автор

Is there any disadvantage of StringBuilder? If not, then why do we even use string?

Vijul-buqs