Sonali Avhad

Sonali Avhad

  • NA
  • 234
  • 42.9k

'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)