   Seems like this should be so simple... (C# 2008)
  I'm trying to find a way to programatically extract the name of an image file from an imagelist in C# 2008. I can see the names of the files in the property pages of the imagelist so I know that information has to be somewhere in the thing, but I can't find any way to access that information from the code.I don't care about the path the file originally came from (for what I'm doing it is actually easier if I don't have to parse that). I just can't seem to figure out a way to pull that info.Any help?   
  I'm not actually sure if this is the answer, but you might check the images metadata to see if that is where the name is being stored: How to Read Metadata;  You want the ImageList.Images.Keys property.   ;  I had to learn about StringCollections, which I had never heard of until tonight, but that did it! Thank you so much!And thanks for the idea intrest86. That sounded more logical than a lot of the crazy things I was trying. :P   