C# error - Not all code paths return value

后端 未结 1 1997
盖世英雄少女心
盖世英雄少女心 2021-01-29 12:52

So guys I know that have another posts like this with this name,but the other posts didn\'t help me find some solution for my problem. I have 1 Form and 4 Class with methods,and

相关标签:
1条回答
  • 2021-01-29 13:31

    your method "totalViagem" doesnt return anything, you have set its return type as double but it returns nothing, therin lies your problem

    0 讨论(0)
提交回复
热议问题