Anyone can help me with how to write try and catch for this block of code? '''
private decimal OtherCharges(){
decimal parts;
decimal.TryParse (partsCB.Text, out parts);
decimal labor;
decimal.TryParse (laborCB.Text, out labor);
return parts;
enter code here }
'''
https://stackoverflow.com/questions/66084436/try-and-catch-c-sharp-using-visual-studio February 07, 2021 at 12:02PM
没有评论:
发表评论