13 lines
179 B
C#
13 lines
179 B
C#
|
// CS0021: Cannot apply indexing with [] to an expression of type `System.Array'
|
||
|
// Line: 9
|
||
|
|
||
|
using System;
|
||
|
class X
|
||
|
{
|
||
|
public void Foo (Array bar)
|
||
|
{
|
||
|
object baz = bar[0];
|
||
|
}
|
||
|
}
|
||
|
|