Finally Block Not Running?

后端 未结 5 1695
说谎
说谎 2020-12-09 09:56

Ok this is kind of a weird issue and I am hoping someone can shed some light. I have the following code:

static void Main(string[] args)
{
    try
    {
             


        
5条回答
  •  遥遥无期
    2020-12-09 09:57

    Ran this in both release and debug, in both framework 3.5 and 4.0, I see "in Finally" in all instances, yes running it from command line, went as far as closing my vs sessions, maybe it's something on your machine or as Kobi pointed out, maybe platform related (I'm on Win7 x64)

提交回复
热议问题