Avnitro
Avnitro
CC#
Created by Avnitro on 10/6/2024 in #help
✅ Strings
StringBuilder newCrustacean = new StringBuilder(); newCrustacean.Append("fiddler crab"); Console.WriteLine(newCrustacean); newCrustacean.Remove(0,8); Console.WriteLine(newCrustacean); I defined stringbuilder like this. If I say delete (0,8), c needs to be deleted as well, why not just The word fiddler and the space are deleted.
7 replies