// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; public class Data { public int Iv { get; set; } public string Sv { get; set; } } public class Rec8 { public static void Main(string[] args) { Data o = new Data { Iv = 123, Sv = "ABC" }; Console.WriteLine($"{o.Iv} {o.Sv}"); } }