A
Aleksei Guzev
Hi,
I have the following code:
public struct IntegerList
{
ArrayList _rep;
public IntegerList( int [] vals )
{
_rep = new ArrayList( vals );
}
public IntegerList( params int[] v )
{
_rep = new ArrayList( v );
}
}
Why the compiler treats the constructors as ones having the same parameter
types? (CS0111)
Aleksei Guzev
I have the following code:
public struct IntegerList
{
ArrayList _rep;
public IntegerList( int [] vals )
{
_rep = new ArrayList( vals );
}
public IntegerList( params int[] v )
{
_rep = new ArrayList( v );
}
}
Why the compiler treats the constructors as ones having the same parameter
types? (CS0111)
Aleksei Guzev