Using arrays in c#, you can also declare arrays of custom types. In our example let’s start with a Customer class, having two constructors, 3 properties (FirstName, LastName, ContactNumber), and an override of ToString() method of the Object class.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ArraysPart2cs
{