Showing posts with label design patterns. Show all posts
Showing posts with label design patterns. Show all posts
Friday, February 12, 2010
Quiz #1 - the answer
Labels:
c#,
design patterns,
XML Schema
Monday, February 8, 2010
Question #1 for the readers: Which design pattern is used here?
Jesse wrote an interesting post about xml and the .Net framework. He reminds us that xml is actually an abstraction and that Angle brackets are just one (inefficient) way of representing it.
For this reason this code:
can actually generate both "regular" xml and optimized binary one, depending on the implementation of XmlWriter handed to it.
This is actually a great example of a design pattern implemented in the .Net framework BCL.
Can you guess which design pattern is it? Here's the DP list. Give your best shot at the comments bellow! What's next? get this blog rss updates or register for mail updates!
Labels:
c#,
design patterns
Subscribe to:
Posts (Atom)
