I can retrieve the names of individual files and also I can use count in the looping code to get the required value, but is it possible to know this without the iteration. Perhaps, a Property is defined for that.
OpenFileDialog component opens the Windows dialog box for browsing and selecting files. To open and read the selected files, you can use the OpenFileDialog. OpenFile method, or create an instance of the System.
openFileDialog1.FileNames.Length
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With