c sharp property validation if value is null - C#