public void Worst() { var sampleDataA = LookupA.LoadSome(); var sampleDataB = LookupB.LoadSome(sampleDataA); Console.Write(sampleDataB); }
public void Bad() { var sampleDataA = LookupA.LoadSome(); if (sampleDataA != null) { var sampleDataB = LookupB.LoadSome(sampleDataA); if (sampleDataB != null) { Console.Write(sampleDataB); } } }