linux-packaging-mono/mcs/tests/test-tuple-09.cs
Xamarin Public Jenkins (auto-signing) e2950ec768 Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
2018-01-29 19:03:06 +00:00

19 lines
306 B
C#

using System;
class TupleDeconstructionDeclaration
{
public static int Main ()
{
(string s, long l) = GetValues ();
(var vs, var vl) = GetValues ();
(object o, var vl2) = GetValues ();
(string ds, _) = GetValues ();
return 0;
}
static (string, long) GetValues ()
{
return ("a", 3);
}
}