19 lines
253 B
C#
19 lines
253 B
C#
|
// CS1503: Argument `#1' cannot convert `object' expression to type `int'
|
||
|
// Line: 16
|
||
|
|
||
|
using System;
|
||
|
|
||
|
class T
|
||
|
{
|
||
|
public void M1 (int i, params object[] args) {}
|
||
|
}
|
||
|
|
||
|
class MainClass
|
||
|
{
|
||
|
static void Main ()
|
||
|
{
|
||
|
T t = new T ();
|
||
|
t.M1 (new object ());
|
||
|
}
|
||
|
}
|