Linq to XML C# List with optional elements causing NullReferenceException

后端 未结 0 500
余生分开走
余生分开走 2020-12-03 05:54

I would like to put the following into a list. However, it seems that once the optional timestart/timeend elements are missing the program throws a NullReferenceException an

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