NTDLS.EmbeddedResource
License: MIT License
This is open source software licensed as MIT License. You can obtain the source code from GitHub.
NTDLS.EmbeddedResource
📦 Be sure to check out the NuGet package: https://www.nuget.org/packages/NTDLS.EmbeddedResource
Example usage:
Make sure the file in the project is marked as "Embedded Resource" in its properties.
var formattedText = EmbeddedResourceReader.Format(@"TextFiles\TestResource.txt", ["World"]);
Console.WriteLine(formattedText);