a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
296 B
C#
21 lines
296 B
C#
using System;
|
|
|
|
class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
string s = "test me";
|
|
foreach (char c in s)
|
|
Console.WriteLine (c);
|
|
|
|
Foo ();
|
|
}
|
|
|
|
static void Foo ()
|
|
{
|
|
string [,] s = new string [,] { { "a", "b" }, { "c", "d" } };
|
|
foreach (string c in s)
|
|
Console.WriteLine (c [0]);
|
|
}
|
|
}
|