You can download code samples for Windows Phone to see how the WindowsPhone APIs are used in practice or as a starting point for yourapplications.

Visit https://create.msdn.com/en-US/education/catalog/article/wp7_code_samples formore information.