I discovered a data type called decimal that I have never seen before. Great VS recognize this type and colorize it a other data types.
As I have some classes that put objects in an hashtable according to their respective types, I decided to add this funny new type to my code. But this results in the following:
I don’t even know if I will use such a type later but I like to understand. Does anyone use it in his code?
Check out the section “Literals”. It explains a little about usage and compiler errors. Also, don’t forget to check out the examples at the bottom. They are usually pretty good in explaining how you can best use it.