How can I use "double" in "System.Threading.Thread.Sleep(int)".

No you can't use a double in Sleep since its signature requires you to put an int datatype.

You can cast your double to int if you really want to use your double variable.

No you can't use a double in Sleep since its signature requires you to put an int datatype.

You can cast your double to int if you really want to use your double variable.

how can i cast double in int