public class Invoice
{
public decimal Amount { get; set; }
}
I know that M is the suffix for decimal values
public class Invoices
{
public void IdentityTest()
{
Invoice firstInvoice = new Invoice();
firstInvoice.Amount = 0.0M;
}
}
What is the point of declaring class properties as decimal when you have to use M with a value which you expect to be decimal?