Formatting a valid file name in C#

You can use the following method to format a string to return a valid file name before saving a file.

Source: Stackoverflow

LioneL Chetty

Microsoft Student Partner at the Durban University of Technology. I privately build Windows Phone applications & blog about my learning experiences.

Read more:
How to create your first Windows Phone app
How to change the App name and Tile name of your Windows phone app
Data binding in Windows Phone app – One way binding