C# to Swift syntax converter. Just to play around :)