Тёмный

Strings are Immutable | C# Interview Questions | Csharp Interview Questions 

Questpond
Подписаться 206 тыс.
Просмотров 10 тыс.
50% 1

strings are immutable
For more such videos visit www.questpond.com
See our other Step by Step video series below :-
For more such videos subscribe / questpondvideos
JavaScript Interview Questions: • JavaScript Interview Q...
C# interview questions and answers:- • C# Interview Questions...
Abstract class vs Interface in C# :- • Abstract Class vs Inte...
ASP.NET MVC Interview Questions with answers:- • ASP.NET MVC Interview ...
Angular Interview Questions and Answers :- • Angular Interview Ques...
C# tutorial for beginners(4 hrs):- • C# Tutorial for Beginn...
Angular Interview Questions and Answers :- • Angular Interview Ques...
Learn Azure Step by Step:- • Azure Tutorial for Beg...
Azure AZ-900 fundamentals certification :- • AZ 900 Certification |...
AZ- 204 certification Azure:- • Azure 204 Certificatio...
Learn Angular tutorial step by step tinyurl.com/ycd9j895
Learn MVC 5 step by step in 16 hours:- • Learn ASP.NET MVC 5 ( ...
Learn Design Pattern Step by Step goo.gl/eJdn0m
Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
Learn SQL Server Step by Step tinyurl.com/ja4zmwu
Python Tutorial for Beginners:- • Python Tutorial for Be...
Learn Data Science in 1 hour :- tinyurl.com/y5o7qbau
Learn Power BI Step by Step:- tinyurl.com/y6thhkxw
PHP Interview Questions : • PHP Interview Question...
---------------------------------------------------------------------------------
For more details :-
🌐 Website : www.questpond.com
📱 Mob. No. : +91-9967590707 / +91 7700975156 / +91-22-49786776
📧Email : questpond@questpond.com / questpond@gmail.com / questpond@yahoo.com
Share, Support, Subscribe and Connect us on!!!
RU-vid: / questpondvideos
Twitter: / questpond
Instagram : / questpond
Facebook : / questpond
#StringsareImmutableInC# #C#InterviewQuestionandAnswers #CSharpInterviewQuestionsforFreshers #CsharpInterviewQuestions #C#InterviewQuestionsforExperiencedProfecsnals #InterviewQuestionsforC# #CSharpStrings

Опубликовано:

 

12 янв 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@questpondvideos
@questpondvideos 3 года назад
ASP.NET, C# Job Market : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H3JEWAp32-s.html 25+ OOPS Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-u99wAoBjDvQ.html Software Architecture Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-AtTgcbLOqMM.html 30 Important C# Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-BKynEBPqiIM.html 20+ SQL Server Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-SEdAF8mSKS4.html 10+ Power BI Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Cozc9WNBRt4.html 20 MSBI Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Nw_sHEKnOUE.html SQL Server Joins : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KTvYHEntvn8.html SQL Step by Step - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uGlfP9o7kmY.html Angular Step by Step Tutorial for Beginners : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--9VcW7MBDs8.html 25 Angular Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--jeoyDJDsSM.html 25 Important ASP.NET Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pXmMdmJUC0g.html 35 Important JavaScript Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Zb4dPi7CANU.html 20 MySQL Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9hfjC-BpY20.html 5 MSBI Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5E815aXAwYQ.html 20 PHP Interview Questions : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1bpNSynUrl8.html
@pravinkshirsagar8464
@pravinkshirsagar8464 2 года назад
1. String is reference type. 2. Internally it uses Array to save value. 3. Array have fixed size. 4. If we are going to store dynamic value in string every time, that array will not store the same because of size. 5. So every time fresh objects are created. 6. Thats why string are immutable.
@Girishur
@Girishur 3 года назад
Dear sir thank you for efforts. String are immutable because strings are reference type and 1.multiple string variables with the same value then it will avoid allocating memory for the same string value multiple times. 2. immutable strings eliminate race conditions in multi-threaded applications
@jayjeckel
@jayjeckel 3 года назад
Strings are immutable and strings are reference type. They aren't immutable because they are reference type. A reference type can be mutable, for example List is a reference type and is mutable.
@jayjeckel
@jayjeckel 3 года назад
Nice video. I especially like how you used the diagnostic window to show all the string objects being garbage collected.
@pratikgirme775
@pratikgirme775 3 года назад
Dear Sir, Thank you so much for giving such a clear understanding of this concept. I was aware of string is immutable, but how to prove it, I got this from this video.
@_Ten_
@_Ten_ 2 года назад
Great video.
@maheshpatkar886
@maheshpatkar886 3 года назад
The reason for string being immutable object is that in case of assignment of one string variable to another string , any change in the previous string would lead to unwanted changes in the copied string just like other reference types
@miscVideo007
@miscVideo007 2 года назад
Why this behavior of string are there , i mean immutable ?
@ParidhiStyle
@ParidhiStyle 3 года назад
Everyone it create new object. Because it is reference type.
@atulparashar4846
@atulparashar4846 3 года назад
Because string is thread safe in c#
@omkargorde7062
@omkargorde7062 3 года назад
What is the best way to avoid immutable functionality of string?
@jayjeckel
@jayjeckel 3 года назад
You can't. Strings are immutable and that can't be avoided using strings. If you need a string-like object that is mutable, then you should use the StringBuilder class.
@ParidhiStyle
@ParidhiStyle 3 года назад
Use string builder
Далее
You Completely Misunderstand How Strings Work in C#
8:46
What are record types in C# and how they ACTUALLY work
15:36