println(
);

Sometimes its just amazing the things that i encounter on a daily basis when rewriting incompetent code

Example 1

SELECT * FROM ....BLAH....
WHERE
(CONVERT(BIT, CASE WHEN ISNULL(gm.enddate, '2999-12-31') >= GETUTCDATE() THEN 0 ELSE 1 END) <> 1 
AND CONVERT(BIT, CASE WHEN ISNULL(gm.startdate, '1975-01-01') <= GETUTCDATE() THEN 0 ELSE 1 END) <> 1)

Example 2

string iMasterUserLogin = data.GetUserParentUserLoginID(username).FirstOrDefault() ?? "";
if (iMasterUserLogin != null) return iMasterUserLogin;
return null;

Example 3

Convert.ToByte('0' + (int)sc.Data)