C Sharp implicit casting

DBJ dreaming in C# while lying on green grass
DBJ dreaming in C# while lying on the green grass

C Sharp implicit casting

February 13th, 2008

There might be something very interesting for you in FM#. Maybe a interesting example of the usage, of C# implicit casting operator? … Wait, what is FM#?

FM# is (my) C# library of Foundation Mechanisms (aka FM).

For a start, let me offer some magic. Lets look in the method cast() of the util class.  This method is used to get the value from the xml node, and cast it implicitly, to the C# variable of the same type. Reminder: value of the xml node is always an string.  Confusing. Let’s just use this then. Here is the method footprint:
Continue reading “C Sharp implicit casting”