Name: Anonymous 2019-01-27 8:36
Why do they even exist? Whatever advantage they claim to give is more than offset by runtime unpreictability caused by typos and bad design that's not picked up at compile time.
var y = "Hello World";
var x = y.Substring(0, y.Length - 5);
Console.WriteLine(x);
y = "Hello World"
x = y[:-5]
print(x)