Skip to content

Instantly share code, notes, and snippets.

Created Feb 9, 2016
What would you like to do?
var assembly = Assembly.GetExecutingAssembly();
var resourceStream = assembly.GetManifestResourceStream("MyNamespace.fakedata.json");
using (var reader = new StreamReader(resourceStream, Encoding.UTF8))
return reader.ReadToEnd();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment