Exemplo n.º 1
0
 private static void LazyUserSetUp()
 {
     User_lazy blogUser = new User_lazy(1);
     Console.WriteLine("User_lazy has been initialized");
     foreach (var article in blogUser.Articles.Value)
     {
         Console.WriteLine(article.ToString());
     }
 }
Exemplo n.º 2
0
        private static void LazyUserSetUp()
        {
            User_lazy blogUser = new User_lazy(1);

            Console.WriteLine("User_lazy has been initialized");
            foreach (var article in blogUser.Articles.Value)
            {
                Console.WriteLine(article.ToString());
            }
        }