SharpDevelop 5.1.0
Target Framework: 4.5.2
I am getting this error:
'Compilation.Dimentions.Width.get' must declare a body because it is not marked abstract or extern. Automatically implemented properties must define both get and set accessors. (CS0840) - C:\Users\Gary\Documents\SharpDevelop Projects\Compilation\Compilation\Dimentions.cs:18,28
publicclassResolution
{
publicint Height { get; }
publicint Width { get; }
publicResolution(int Height, int Width)
{
this.Height = Height;
this.Width = Width;
}
}
This code works fine in Visual Studio, what am I missing?