I'm learning to program in C# and I'm having problems with the console, when I run the code below the console show the output but immediately close the window and I can't see anything. I don't know what to do to keep the window open. Any suggestion? I'll be very grateful.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace testApp_1
{
    class Program
    {
        static void Main(string[] args)
        {
            String word = "Hello world!";
            Console.WriteLine(word);
        }
    }
}
 
     
     
     
     
     
    