Calling constructor overload when both overload have same signature

前端 未结 4 717
傲寒
傲寒 2020-12-09 16:58

Consider the following class,

class Foo
{
    public Foo(int count)
    {
        /* .. */
    }

    public Foo(int count)
    {
        /* .. */
    }
}
         


        
4条回答
提交回复
热议问题