I want to try clojure-clr
This program works fine:
(import [System])
(defn -main [& args]
(Console/WriteLine "Hello, World!"))
but when I want to use Task class:
(import [System.Threading.Tasks])
(import [System])
(defn -main [& args]
(Task/Delay 1))
I got error:System.InvalidOperationException: Unable to find static field: Delay
but in this case,Task/Delay is same to Console/WriteLine
I don't know why