C#C
C#15mo ago
Avnitro

✅ 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.
Was this page helpful?