6 Replies
just like you'd run a loop anywhere else
$details
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
how do I make a loop
there are different types of loops, you will need to provide more context.
Also, this is something that's easily found on google
https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops-local#use-loops-to-repeat-operations
thank you
If you are trying to create a loop that repeats the entire time then use a threaded timer https://learn.microsoft.com/en-us/dotnet/api/system.timers.timer?view=net-8.0
Timer Class (System.Timers)
Generates an event after a set interval, with an option to generate recurring events.