DEV Community

Max Smirnov
Max Smirnov

Posted on • Updated on

Pocket Kotlin-C# Dictionary. B

B

Kotlin C#
break
Statement to exit loops Learn more
break
Statement to exit loops. C# break is also used to exit switch, while in Kotlin when this is not needed.
C# break can exit only inner loop, while Kotlin has break@myLabel syntax to exit loop of any level. Learn more
by
Delegation of interface implementation or property getter and setter to another class Learn more and more
This type of delegation has no built-in language support. One has to manually write code that calls delegates

Top comments (0)