Is it possible to simplify this in one single line of code?
Thanks.
public static string BuildAutoLoginUrl(string username)
{
#if DEBUG
return @"/Account/AutoLogin?key=" + GetAutoLoginKey(username);
#else
return @"http://www.domain.com/Account/AutoLogin?key=" + GetAutoLoginKey(username);
#endif
}