SyntaxFix
Write A Post
Hire A Developer
Questions
This will be possible in C# 6.0:
public int Y { get; } = 2;