Home > Net >  A decimal [and] temp0=new decimal [o - o - 1, 1); Arithmetic overflow
A decimal [and] temp0=new decimal [o - o - 1, 1); Arithmetic overflow

Time:11-21

CodePudding user response:

Int o=0;
A decimal [and] decimals=new decimal [o - o - 1, 1);

Is new to a decimal [1, 1], compile don't allow, you are cheated by the compiler, but the run-time check won't cheat

CodePudding user response:

You put the value of the o, print it out

CodePudding user response:

But can't define 1 matrix

CodePudding user response:

reference 1st floor wanghui0380 response:
int o=0;
A decimal [and] decimals=new decimal [o - o - 1, 1);

Is new to a decimal [1, 1], compile don't allow, you are cheated by the compiler, but won't deceive
run-time check

That should be how to change, please the great spirit guide
  •  Tags:  
  • C#
  • Related