``` /* * There are many operations that help to ...
# getting-started
p
Copy code
/*
 *  There are many operations that help to transform one collection into another, starting with 'to'
 */
fun example0(list: List<Int>) {
    list.toSet()

    val set = HashSet<Int>()
    <http://list.to|list.to>(set)
}