Sonali Avhad

Sonali Avhad

  • 1.9k
  • 199
  • 9.6k

'System.Array' does not contain a definition for 'ToList'

Aug 28 2021 4:56 AM

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


Answers (2)