Good point in general, I agree with you. I thought of doing it that way, but in this particular case, not much difference between the two, as it will never be null. I just wanted the simplest code for demonstration purposes...
Thanks for great video. Small comment: it seems to me that it will be better to use String.Empty constant and check strings with String.IsNullOrEmtpty method.
@troits76 Hi
Good point in general, I agree with you. I thought of doing it that way, but in this particular case, not much difference between the two, as it will never be null. I just wanted the simplest code for demonstration purposes...
Thanks for your thoughts on it!
Take care, -Peter T.
PETERTEACH 8 months ago
Thanks for great video. Small comment: it seems to me that it will be better to use String.Empty constant and check strings with String.IsNullOrEmtpty method.
troits76 8 months ago