// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; namespace E { public class Program { public static (int v1,int v2) M() { return (123, 456); } public static void Main(string[] args) { var res = M(); Console.WriteLine($"{res.v1} {res.v2}"); } } }