C# Empty Statement

后端 未结 13 2254
情深已故
情深已故 2020-11-29 12:34

The C# language specification defines the empty-statement grammar production, which allows me to do something like this:

static void Main(string[] a         


        
13条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-29 12:54

    So some genius could write for(;;) instead of while(true). Like for an interview test.

提交回复
热议问题