I am working on a project where I found a syntax heavy line of code in it
logonuser = logonuser.IndexOf(domain) >= 0 ? logonuser : domain + "\\" + logonuser;
Both logonuser and domain are Strings. I need an explanation of what it is and how does it work?