How can I refactor this code segment by removing the bool variable?
bool value = int.TryParse(configHelper.GetConfigValue("timeout"), out time );
time = value ? time : 70000;
Any help is appreciated. Thankyou
time = int.TryParse(configHelper.GetConfigValue("timeout"), out var mgdtimeout) ? mgdtimeout : 70000;