public ManifestResource[] GetResources() { return (ManifestResource [])resources.ToArray(typeof(ManifestResource)); }