I want to compare files of two folders according to date time and size of files.. These folders contain same no. of files with same name, but may have different size and date time. I want to put odd files in two list box for each folder showing there date time and size. I am not going through logic. can you help me with the code.

Thank you.

Here's the first place to start System.IO namepsace. This contains all the methods required to get a collection of files in a folder and read the information about each one. Here's the documentation on the ListBox class. When you have a problem with code you've written let us know and show us the code. We'll be more than happy to iron out those problems.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.