What is to in the example below:
val test = 33 to 42
val test = 33 to 42A. A Kotlin keyword to create a Pair(33, 42)
B. A syntax error
C. A Kotlin keyword to create a Range from 33 to 42
D. An infix extension function creating a Pair(33, 42)
Answer: Option D

Join The Discussion