列表项疑问...缺少可靠的参考 [英] list item doubt...missing assebly reference
本文介绍了列表项疑问...缺少可靠的参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用System.Collections;
List< datetime> dtholidays = null;
无法找到命名空间或名称List的类型。你错过了使用指令或汇编参考吗?
- 我正在使用
- 使用System.Collections;
但仍然出现问题?
解决方案
抱歉它的c#.. ..
i已经解决了我自己
使用System.Collections。通用的;
using System.Collections;
List<datetime> dtholidays = null;
The type of namespace or name List could not be found. Are you missing a using directive or assembly reference ?
--I am using
--using System.Collections;
But still where its going wrong ?
解决方案
sorry its c #....
i have solved myself
using System.Collections.Generic;
这篇关于列表项疑问...缺少可靠的参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文