title: How do I get the resource name from the resource object?
body: <p>Say I have an exe added into my resources folder. Now how can I get the name (or even the fullpath from which its linked so that I can still have the file name) of the resource as string? </p>
  
  <p>From <code>Properties.Resources.myApp</code> how do I get the <code>string "myApp"</code>. ToString() doesnt work. If it is important to embed the file to get the name, I can.</p>
  
  <p><strong>Edit:</strong> My question is not specifically to get the name of exe resource. But that one generic approach which gives me the name of the resource! For instance what if my resource is a bitmap image? I need to print "Lily" from <code>Properties.Resources.Lily</code>. How to achieve this? ToString wont work anyways.</p>