blob: 9b5153d5f32fc0250a1fb9d829b54f78d3ac8f0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
using System;
class foo
{
static int Main()
{
byte[,] Param = new byte[2, 2];
Param[0, 0] = 1;
Param[1, 1] = 2;
byte[,] Stuff = new byte[3, 3];
Stuff[Param[0, 0], Param[1, 1]] = 1;
Console.WriteLine(Stuff[1, 2]);
return 100;
}
}
|