NullReferenceException on instantiated object?

前端 未结 4 464
无人及你
无人及你 2021-01-26 08:24

This is a segment of code from an app I\'ve inherited, a user got a Yellow screen of death:

Object reference not set to an instance of an object

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-26 08:31

    You sure that one of the properties trying to be accessed on the l_Monitor instance isn't null?

提交回复
热议问题