Changes in new versions / C# 7.0

using System;

var size = new Size() {
    Width = 5,
    Height = 10
};

var str = "3,14";

//before:
int width1;
int height1;
size.GetSizes(out width1, out height1);
Console.WriteLine($"{width1}{height1}");

float pi1;
if (float.TryParse(str, out pi1))
    Console.WriteLine($"pi: {pi1}");

//in version 7:
size.GetSizes(out int width2, out int height2);
Console.WriteLine($"{width2}{height2}");

if (float.TryParse(str, out float pi2))
    Console.WriteLine($"pi: {pi2}");

class Size {
    public int Width { getset; }
    public int Height { getset; }

    public void GetSizes(out int width, out int height) {
        width = Width;
        height = Height;
    }
}