20 lines
233 B
C#
20 lines
233 B
C#
|
// CS1501: No overload for method `Foo' takes `2' arguments
|
||
|
// Line: 17
|
||
|
|
||
|
|
||
|
static class Extensions
|
||
|
{
|
||
|
public static string Foo (this string s)
|
||
|
{
|
||
|
return s;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class M
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
1.Foo ("foo");
|
||
|
}
|
||
|
}
|