Sign in to follow this  

C# Resource Image Equality

Recommended Posts

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?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this