Is there any way in C# to specify a decimal datatype with required decimal digit?
For example in few unmanaged codes we specify
decimal{2} a
The above declaration allows only two decimal digits for the variable a
Is there any way in C# for above declaration?