Check out example codes for "read embedded resource c# xml". It will help you in understanding the concepts better.

Code Example 1

public string GetResourceTextFile(string filename)
{
    string result = string.Empty;

    using (Stream stream = this.GetType().Assembly.
               GetManifestResourceStream("assembly.folder."+filename))
    {
        using (StreamReader sr = new StreamReader(stream))
        {
            result = sr.ReadToEnd();
        }
    }
    return result;
}

Learn ReactJs, React Native from akashmittal.com