Turning off Depth Of Field

I’m trying to destroy the depth of field component on a camera but unity keeps giving this error

Assets/Scripts/GameScripts/GameControl.cs(26,83): error CS0246: The type or namespace name `DepthOfField’ could not be found. Are you missing a using directive or an assembly reference?

depthOfFieldScript = GetComponent<Camera>().GetComponent <DepthOfField>();

Here’s the part of my code. Any suggestions on how to fix(written in C#).

DepthOfField is in the namespace UnityStandardAssets.ImageEffects. You need to import it:

using UnityStandardAssets.ImageEffects; //remember this
using UnityEngine;