Use IsNullOrEmpty instead or comparison to null.