且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Int 到字符串:无法从“方法组"转换为“字符串"

更新时间:2023-02-03 08:42:13

你缺少方法调用的括号:

You are missing the parentheses of the method call:

ToString()

没有括号,表达式是一个方法组——即对一个或多个重载方法的引用.

Without the parentheses, the expression is a method group — that is, a reference to one or more overloaded methods.