Note that interfaces in C# can also define read-only properties (using only the get accessor) and write-only properties (using only the set accessor) as well as read-write properties.
the IMyInterface interface declares a property called MyProperty of type int, with get and set accessors. Note that the interface does not provide an implementation for the property, it simply defines the property signature.