||||||||||在C#中将对象T转换为List 。
我有一个关于转换类型的愚蠢但令人费解的问题。从代码中可以看到,我有一个变量lprod_monthylReport,取决于ytm值可以是List<Monthly_Report>
或仅仅是Monthly_Report
。在两种情况下,我都需要变量具有相同的名称。
var lprod_monthlyReport = new List<Monthly_Report&g
List<Monthly_Report>
或仅仅是Monthly_Report
。在两种情况下,我都需要变量具有相同的名称。
var lprod_monthlyReport = new List<Monthly_Report&g
没有找到相关结果
已邀请:
0 个回复