📜  字符串引用未设置为字符串的实例. - 无论代码示例

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

代码示例2
The first parameter of DateTime.ParseExact is a string parameter named 's'.

Therefore, it looks like YearOfRelease or RunTime is null in your program. Make sure those are set before you call DateTime.ParseExact.