Mike Taulty's last blog post called
Silverlight: Pong really deserved your admiration. Now Mike has decided to
move his Silverlight Pong to WPF.
I wanted to maintain a single code-base as much as possible. It’s fairly easy to cross-compile C# code by using conditional compilation where necessary for WPF/Silverlight ( Silverlight projects already define the SILVERLIGHT constant which is useful ) but I wanted to also try and have a single lump of XAML so that pretty much all the files in my WPF project were just linked from the Silverlight project.