In this post, Khawar Yunus discusses how to code for both
Silverlight and
WPF.
Source: Simple-Talk
Because Silverlight is a development of Windows Presentation Foundation, and the technologies are so interlinked, it would seem obvious that there would besuch a high degree of code compatibility that one could then develop an application for both platforms from a common code-base. Khawar describes how it can be done, and shows the results.