1

I was thinking about the fact that Main can't be marked async. Is it true that in C#

"The entry point of your application must be synchronous."

Or what is a more rigorous and correct way of saying what I'm trying to say?

I'm trying to convey the idea that if you deep enough down the chain of execution, you must reach a synchronous process at the end of the chain.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
user7127000
  • 3,143
  • 6
  • 24
  • 41
  • 6
    That's the shallowest point in the execution though, not the deepest. – Jon Hanna Dec 14 '16 at 04:03
  • Why would you want to convey completely wrong idea? Quoted statement makes sense by itself, but it does not match what you are saying afterwards... – Alexei Levenkov Dec 14 '16 at 04:26
  • @JonHanna Yes, you're right – user7127000 Dec 14 '16 at 05:51
  • Possible duplicate of [Can't specify the 'async' modifier on the 'Main' method of a console app](http://stackoverflow.com/questions/9208921/cant-specify-the-async-modifier-on-the-main-method-of-a-console-app) – VMAtm Dec 14 '16 at 07:07

0 Answers0