Csharp
3 posts
string builder easy to change charcter in string c sharp

It is not easy to change char value or update or remove in string when we use a c# language It’s good with Stringbuilder for that https://school.programmers.co.kr/learn/courses/30/lessons/12951 While I was solving the problem below from programmars, there are requirement to change to capital charcter Firstly I tried to change with normal c sharp string api but not was easy I got a hint from goole, realized string builder advantages. it’s easy to change char in string. let ‘s use string builder …

csharp convertall

https://school.programmers.co.kr/learn/courses/30/lessons/12939 Recently I solved the algorightm problem, min max value from programmars site While solveing the problem , it needed compareing process to change values from character to integer array I used array convertall api , it’s very useful Eg, In the problem characters were separlate with blank, it could convert using array convertall api Detail. https://learn.microsoft.com/en-us/dotnet/api/system.array.convertall?view=netframework-4.8#exa…

Boxing and unboxing

Object format is reference type, It will save to heap Int and Double format is value type, It will save to stack if value data to save heap data containging box , it is boxing, In the opposite case, unboxing is the case of unpacking the data in the box and using it as a value