c# - polymorphism Printing only 1 class object from the polymorphism list

前端 未结 0 1221
被撕碎了的回忆
被撕碎了的回忆 2021-01-24 07:42

How do i print only 1 class from my polymorphism list? For example you have a polymorphism list in the program.cs

List personList = new List

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题