blob: 1de2b2b6a553975d5603e733720af348ceb9ef36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
struct S
{
#pragma warning disable 0414
public String str2;
#pragma warning restore 0414
public String str;
}
class Test
{
public static void c(S s1, S s2, S s3, S s4)
{
Console.WriteLine(s1.str + s2.str + s3.str + s4.str);
}
public static int Main()
{
S sM, sM2, sM3, sM4;
sM.str = "test";
sM2.str = "test2";
sM3.str = "test3";
sM4.str = "test4";
sM.str2 = "";
sM2.str2 = "";
sM3.str2 = "";
sM4.str2 = "";
c(sM, sM2, sM3, sM4);
return 100;
}
}
|