Hello
Why isn’t the function System.Collections.Generic.List.Average() present when working in Unity3D?
When I copy the code below into Visual Studio C# it all compiles find but in MonoDevelop I get a compiler error saying that there is no function called Average()
:
// The following is valid code in Visual Studio C# but not in MonoDevelop??
System.Collections.Generic.List<double> a = new System.Collections.Generic.List<double>();
double average = a.Average();
Whats going wrong? Am I including an older/wrong version of .NET?