In most cases for storing data using a generic List<T> over an array is more suitable and lists offers more…