Home > Software engineering >  Please comment, vb.net language of this style of writing is correct?
Please comment, vb.net language of this style of writing is correct?

Time:11-14


Because the code red bugs, there are dozens of standard can't debugging, consult everybody a great god, and can write, or is there a better way? [customs declaration data] is a custom data structure, by another function to the assignment,

CodePudding user response:

No separate written function because the basic each function is only used once, don't want to write a lot in the main function of the if else, it looks very clear,

CodePudding user response:

Customs data as the parameters of the function

CodePudding user response:

Have direct messages to you

CodePudding user response:

So write no problem, can also use the IIF, but no anonymous function is clear,

CodePudding user response:

reference UruseiBest reply: 3/f
has direct messages you

I saw, such as I sent to you for your help I see thank you,

CodePudding user response:

X
refer to 4th floor - I - n reply:
write so there is no problem, you can also use the IIF, but there is no clear anonymous functions,

Thank you,
  • Related