How to use resource files in your C# WPF project
Some practical instructions on how to include resource files to your Visual Studio C# WPF project that are not source code. Such non-code files can include binary data, text files, media files, string values, icons, XML, or any other type of data. Project resource data is stored in XML format in the .resx file (named Resources.resx by default). In this example we demonstrate how resource files can be defined in and accessed from a separate class library, thereby helping to make your project cleaner and less cluttered. Step 1: Create a new Visual Studio WPF project. Create a new WPF application for this example: Step 2: Add a new class library project Right-click on your solution folder and select Add > New Project. Create a new Class Library application. We'll call it FileStore: This project we will use to contain our resource files. Step 3: Create a folder to store the resource files In the 'FileStore' Class Library project you created, right...