Dereference of a possibly null reference [Answered] - C#