Difference between Decimal and decimal

前端 未结 5 1732
野性不改
野性不改 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:19

    Hadn't C# been case sensitive, some people would have written applications in all-caps as they did in Cobol and VB. This would have made it impossible for developers to read the code and maintain it. Case-sensitivity is a designer's effort to help making the language more usable.

提交回复
热议问题