E
Kotlin | C# |
---|---|
else |
else See if for differences |
enum Modifier for enum classes Learn more |
enum In both C# and Kotlin enums are classes, but while in C# it's hidden under the hood, in Kotlin enum is just a modifier for enum class and it has many properties of a casual class: it can have a constructor and methods, it can implement interfaces Learn more |
expect Interface-like declaration in cross-platform projects (see actual) Learn more |
interface |
external Modifier for a function implemented externally, outside of Kotlin (accessible through JNI or in JavaScript). External is undocumented and there is an issue to document it that is unresolved for 8 years as of 2023 Learn more |
extern Modifier for an externally implemented method Learn more |
Top comments (0)