Skip to main content
GameDev.net gamedev.net
🔒 Locked

C# Resource Image Equality

Started by gellin Apr 16, 2006 at 9:58 PM 0 replies 300+ views
Original Post
gellin
gellin
I want to compare 2 of my resource images to check and see if they are the same. But it doesn't even pass the equality check when I do this: if (global::myProjectNamespace.Properties.Resources.resourceName == global::myProjectNamespace.Properties.Resources.resourceName) I tried casting them both to an Image and a Bitmap but no luck there. Does anyone have a solution to this?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.