Is there any way to initialize these two variable at the same time?
in this example "time" variable can be "" or has a value.
var variable1 = string.IsNullOrEmpty(time) ? string.Empty : "value";
var variable2 = string.IsNullOrEmpty(time) ? "value" : string.Empty;