C#C
C#3y ago
16 replies
krnlException

❔ Processing window messages in while loop in console

How do I process window messages while my code is in a
while(true)
loop with
Thread.Sleep()
in console? Because I need my code to run in a loop until user closes the window.
Was this page helpful?