The code working in local but not on remote and gives compilation error like 'System.Array' does not contain a definition for 'ToList'
entries = reader.ReadToEnd().Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).ToList();
Please help me

Jignesh KumarRank #91 · 22.9K reputationPosted Aug 28, 2021, 5:21 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Aug 28, 2021, 3:28 AM EDT