Error: Namespace 'Linq' not found, maybe you forgot to add an assembly reference?

So I placed:

import Linq;

At the top of my .js file and this is the error that I received. Does anyone know how I resolve this?

Super easy fix.

I forgot to put in System.

It should be:

import System.Linq;

I’m not fluent in JS, but I think you want to do this:

#pragma strict
import System.Collections.Generic;
import System.Linq;