A Poor Man's Logging
While playing in C# 6 pulled this together to not have to pull logging into a project for a quick test.
Action<object> log = (prop) => { System.IO.File.AppendAllLines("C:/log.txt", new string[] {$@"{ nameof(prop) }: {prop??"null"}"}); }; log(anyObject?.IsEnabled);