How can I use a List<T>
as a parameter on a method, I try this syntax :
void Export(List<T> data, params string[] parameters){
}
I got compilation error:
The type or namespace name 'T' could not be found (are you missing a using directive or an assembly reference?)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…