© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
138 replies
Rainys

❔ How to limit while loop updates per second amount

What i mean by the name is that: for a console application i'm developing (if you're wondering it's a game's server) i need a function something similar to say, Unity's
FixedUpdate()
FixedUpdate()
, so that the function only happens somewhere like 50 times a second, because
while (true)
while (true)
happens every single frame. or in layman's terms: How do i limit FPS?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

while-loop
C#CC# / help
4y ago
❔ PostgresSQL how to do couple hundred inserts per second
C#CC# / help
3y ago
while loop logic
C#CC# / help
8mo ago