1
Answer

Inconsistent accessibility

A Repasky

A Repasky

11y
1.4k
1
I am getting this:

Error 1 Inconsistent accessibility: parameter type 'System.Collections.Generic.List<DetailReport.DetailRecord>' is less accessible than method 'DetailReport.GenExcel.CreateContentRow(int, System.Collections.Generic.List<DetailReport.DetailRecord>, System.Collections.Generic.List<int>)' C:\CLI\CS\DetailReport\GenExcel.cs 1161 25 DetailReport

On this:


public static Row CreateContentRow(int index, DetailRecord det, List<int> setNumber)

with the call:

Row

I know I have to make something public, but what?


Thanks,

arep

contentRow = GenExcel.CreateContentRow(index, det, setNumber);
Answers (1)