Class with proprties that haven't been set
- by koumides
Hello there,
I am creating a class in C# which eventually will be part of a library that other uses can use.
A user of this class has to set some properties and then use a public method to retrieve the results. What shall I do when a user calls the method without setting all the properties? Throw exception and expect the user to catch it?
Thanks