There are similar questions to this - but so far none of them helped.
I'm calling:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Then in a section of my code, VS is pointing out errors in the LINQ methods (.Last() and .Max() ). I hovered over the .Max(). The error says:
The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Max(System.Collections.Generic.IEnumerable<int>)' and 'System.Linq.Enumerable.Max(System.Collections.Generic.IEnumerable<int>)'
I've tried re-installing all of my references and packages, I restarted VS, IIS (this is a website). VS recognizes System.Linq so that's not an issue....
I can't figure out why this is all the sudden throwing errors.