我在代码里面:
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
...
SynchronizedCollection<int> si; //visual studio不认
visual studio 不认这个定义,显示红色。编译也不过。
错了吗?
------解决思路----------------------
添加System.ServiceModel.dll的引用