It's exactly as you say. If you want to do something after 7 seconds then you set the Interval
of a Timer
to 7000. Interval
is an Integer
so it can support values over 24 days.
Actually, another option for one-off actions nowadays is the Task.Delay
method. I'd go with the Timer
though, because you will need to act on the UI thread and the Task
will act on a secondary thread.