Instead of using a string for your first parameter and risking making a typo of some sort you can use Invoke(nameof(METHOD_NAME), TIME)
. The advantage is that in the nameof()
brackets you dont type a string and you “call” the actual method making your code editor of choice able to autocomplete the name without any typos.
Should look something like this
Happy coding ^^