Equivalent of IllegalArgumentException in C#
I have an object that contains 4 things. I want to check to see if these 4 things are legal according to their definitions. If at least one is not, I want to throw an exception. My professor quickly wrote on the board to use the IllegalArgumentException, but it appears to not exist in C#. What would be a good equivalent of this exception that does exist?
Thanks!
[368 byte] By [
b182f117] at [2007-12-24]