Array and List - Compatibility in C#

The following code explains the compatibility between Array and List. (Arrays and Generic lists)
For example,
Checking the array.Length and list.Count.

using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;

namespace forgetCode
{
    class program
    {
        public static void Main()
        {
            int[] array = { 1, 2, 3, 4, 5 };
            List<int> list = array.ToList();
            Console.WriteLine(array[0] == list[0]);
            Console.WriteLine(array.Length == list.Count);
        }
    }
}


Output:
True
True