In Java you can read a file embedded inside a JAR-file by using the following code:
String file = "com/company/package/filename.txt";
InputStream is = ClassName.class.getClassLoader().getResourceAsStream(file);
What is the C#/.NET equivalent of the above code - that is, how do I read a file I've embedded inside a DLL?
Thanks!