A
archana
Hi all,
I am having c# application containing one property.
What i want is not to allow user to set null value to property.
So if in code user tries to set value as null i want to through
exception.
Can i do this, if yes then please tell me the way of throwing exception
in property and catching it in code where property is set.
Any help will be truely apprecaited.
Thanks in advnace.
I am having c# application containing one property.
What i want is not to allow user to set null value to property.
So if in code user tries to set value as null i want to through
exception.
Can i do this, if yes then please tell me the way of throwing exception
in property and catching it in code where property is set.
Any help will be truely apprecaited.
Thanks in advnace.