Reply to comment
While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?
While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?
Richard Moss
#
Hello,
Thanks for the comment! As is my habit, I wrote this demonstration program whilst writing the article itself. Originally I was doing
TryParse
, but as I was writing that part of the article my brain kicked in and reminded me that silently ignoring user input is a silly idea. So I changed it toParse
instead to get the exception, but plain forgot to change the signature at the start of the article. Fortunately the downloadable sample contains everything and is correct. The class is based on an actual type I wrote for another project. I do actually have one more part to write based on some other experiences (and it just so happens one of these is for a customColor
type) so hopefully you'll enjoy the next part too.Thanks again for the comments, it's a pleasure to get a decent comment instead of the usual buckets of spam this blog attracts.
Regards;
Richard Moss