Click here to Skip to main content
15,174,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have object collection of month and year. From that collection I want to take a all unique value of year and month is it possible.
Posted

Yes it is quite possible.
A Distinct LINQ query should do it.

For samples, see here[^].
   
i have a collection object of bindinglist(of T) this collection hold months and years from this collection how can i get unique month and year
   

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




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900