📜  记录器列表 c# 代码示例

📅  最后修改于: 2022-03-11 14:48:43.584000             🧑  作者: Mango

代码示例1
if (this.lista is List)
{
List list_B = this.lista as List;
foreach (B b in list_B)
b.Tarea();
}
else if (this.lista is List)
{
List list_S = this.lista as List;
foreach (string s in list_S)
Console.WriteLine(s);
}