error CS0246: The type or namespace name 'DateTime' could not be found (are you missing a using directive or an assembly reference?)总是报错
using System;没写