我哈哈这段代码:
private FoundContours SelectFromFoundSamples(FoundContours foundACContours, FoundContours foundFNContours, FoundContours foundBlurContours, FoundContours foundFilteredContours)
{
int? num = null;
int? a = null, b = null, c = null, d = 10;
int?[] numbers = new[] { foundACContours.Count, foundFNContours.Count, foundBlurContours.Count, foundFilteredContours.Count };
int? max = numbers.Max();
}
在这一行:
int?[] numbers = new[] { foundACContours.Count, foundFNContours.Count, foundBlurContours.Count, foundFilteredContours.Count };
我收到此错误:
“不能将类型'int?[]'隐式转换为'int []'
知道如何解决错误吗?
先感谢您。