Newbie C#/.NET threading question here:
Is it possible to have a synchronous (if that's the right term) method that doesn't return until it has finished some calculation but at the same time doesn't prevent the app from getting redrawn or going to "Not responding".
I guess the answer is probably threads but how does one make them part of a synchronous (if that's still the right term) method call rather than sending an event when done.
As an added requirement the code I'm adding this to does not have any dependencies on Winforms, it is designed to be run from a Console app or a Winforms app.
Thanks and sorry if this is a dumb question.