I have created a new C++ CLR project in Visual Studio 2015 and wanted to try out using Linq functionality in C++. For this I wanted to include the namespace System::Linq. Unfortunately VS claims
Error C2039 'Linq': is not a member of 'System' ConsoleApplication1
This is the whole code:
using namespace System;
using namespace System::Linq;
int main(array<System::String ^> ^args)
{
Console::WriteLine(L"Hello World");
return 0;
}
How to get this to work?