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