[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-optional-16.cs
blob84934f7c8e891b273d35cee825fcac079f219bcc
1 using System;
3 class MainClass
5 private static int TestParams (object ob = null, params object[] args)
7 if (ob != "a")
8 return 1;
10 if (args.Length != 4)
11 return 2;
13 foreach (object o in args) {
14 Console.WriteLine (o);
17 return 0;
20 public static int Main ()
22 return TestParams ("a", "b", "c", "d", "e");