I have a maskedtextbox control on a form. It's defined as a date field using the " / / " mask. My code has a loop that checks for several different kinds of masks. My problem is when it encounters a "Date", it doesn't pass the edit because my first check is the "Length" of the field. I always check for > 0, well in this case it is but it looks like " / / ". So it passes that check. Then I check for "IsDate" and it fails there. This scenario is possible when it encounters a date field that hasn't yet been populated. How can I properly check this maskedTextBox?

Thanks,