Method Signature in C#

前端 未结 7 811
误落风尘
误落风尘 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:02

    DoSomething(int a, int b);
    

    is the method signature,

    int is the return type.

    take a look at this :Signatures and overloading

提交回复
热议问题