Hullaballoonatic
07/14/2020, 11:14 PMval last3 = myList[^3..]
val first3 = myList[..3]
when (numA) {
< numB -> foo()
== numB -> bar()
> numB -> baz()
}
val defaultInt = default(int)
to name a few.
one of the distinct differences between the languages, though, is that c# does not have the type-erasure that the jvm does, so perhaps that allows for default
E.Kisaragi
07/14/2020, 11:26 PM