Home > Net >  The Convert. ToDecimal () and Convert. ToDateTime () parameter is empty what to do
The Convert. ToDecimal () and Convert. ToDateTime () parameter is empty what to do

Time:11-20

Convert. ToDecimal () and Convert. ToDateTime () these two methods if pass in parameter is null, how should handle

CodePudding user response:

Judgment in advance,

CodePudding user response:

Use TryParse ()
  •  Tags:  
  • C#
  • Related