Question
Tech Mahindra Ltd
Tech Mahindra Ltd
IN
Tech Mahindra Ltd
Posted: Jan 22, 2018
Last activity: May 21, 2018
Last activity: 21 May 2018 15:11 EDT
Closed
Solved
Problem with the Equals operator
Hi Team,
When I'm using a equals operator to check a null value the control goes to false even though when it is null.
The value coming out is probably not null but an empty string. You should use the StringUtils.IsNullOrEmpty method instead.