Finally block is not being called when the exception is not being caught

后端 未结 0 1465
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-30 15:21

A simple console application:

static void Main(string[] args)
{
    try
    {
         Console.WriteLine("In try");
         throw new IndexOutOfRan         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题