Click here to Skip to main content
15,887,241 members
Articles / Desktop Programming / Windows Forms

Count Number of Unique Colors in an Image

Rate me:
Please Sign up or sign in to vote.
4.92/5 (4 votes)
20 Feb 2011CPOL 16K   2  
Just a few minor improvements to readability and such...The catch/throw isn't needed here, since you are just throwing it without doing anything in the catch block. A try/finally could have been used on its own.The try/finally isn't necessary because a using statement can achieve the same...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.

So..If you're not moving forward, you're moving backwards.

Comments and Discussions