C# convert array to list

Last modified: July 17, 2021
var fruits = new string[] { "Apple", "Banana", "grapes" }; var fruitsList = fruits.ToList();