
编写C#有关泛型的程序时出现了如下的错误,我用的是VS2005,请高手指点!! 5
Error1Inconsistentaccessibility:parametertype'ch12ex03.Vector'islessaccessiblethanmet...
Error1 Inconsistent accessibility: parameter type 'ch12ex03.Vector' is less accessible than method 'ch12ex03.VectorDelegates.Compare(ch12ex03.Vector, ch12ex03.Vector)'
Error2 Inconsistent accessibility: base class 'System.Collections.Generic.List<ch12ex03.Vector>' is less accessible than class 'ch12ex03.Vectors 展开
Error2 Inconsistent accessibility: base class 'System.Collections.Generic.List<ch12ex03.Vector>' is less accessible than class 'ch12ex03.Vectors 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询