Пример #1
0
        public static void ExtensionMethods()
        {
            BlogPost blog = new BlogPost();

            blog.Post = "this is the post";
            Console.WriteLine(blog.GetSummary(2));
        }