Difference between Decimal and decimal

前端 未结 5 1756
野性不改
野性不改 2021-01-01 10:39

If someone could explain to me the difference between Decimal and decimal in C# that would be great.

In a more general fashion, what is the difference between the lo

5条回答
  •  爱一瞬间的悲伤
    2021-01-01 11:10

    The built-in C# types aren't all structs*. They are aliases for the predefined types in the System namespace. They are literally the same in all ways except formatting. The alias types are lowercase and formatted like keywords (dark blue). The System types are PascalCased and formatted like types (light blue).


    *object and string are classes

提交回复
热议问题