예제 #1
0
        public void Worst()
        {
            var sampleDataA = LookupA.LoadSome();
            var sampleDataB = LookupB.LoadSome(sampleDataA);

            Console.Write(sampleDataB);
        }
예제 #2
0
        public void Bad()
        {
            var sampleDataA = LookupA.LoadSome();

            if (sampleDataA != null)
            {
                var sampleDataB = LookupB.LoadSome(sampleDataA);
                if (sampleDataB != null)
                {
                    Console.Write(sampleDataB);
                }
            }
        }