DispatcherTimer
is not a namespace - it's a class within the System.Windows.Threading
namespace and the WindowsBase
assembly. So you need
using System.Windows.Threading;
In general, a search for the missing type name and "MSDN" is enough to find out where to find a type.