Method Signature in C#

前端 未结 7 729
误落风尘
误落风尘 2020-11-27 13:36

What is the Method Signature in the following

int DoSomething(int a, int b);

Return type is a part of signature or not???

相关标签:
7条回答
  • 2020-11-27 14:11

    The signature does not contain the return type. Neither the parameter names. In your case it would be DoSomething(int, int)

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