a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
32 lines
402 B
C#
32 lines
402 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
public class Test
|
|
{
|
|
class Wrap
|
|
{
|
|
List<short> numbers = new List<short> ();
|
|
|
|
public dynamic Numbers {
|
|
get {
|
|
return numbers;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
var a = new Wrap () {
|
|
Numbers = { 3, 9 }
|
|
};
|
|
|
|
if (a.Numbers [1] != 9)
|
|
return 1;
|
|
|
|
Console.WriteLine ("OK");
|
|
return 0;
|
|
}
|
|
}
|
|
|