I always saw this in C #
var button = new Button(this.ApplicationContext);
button.Text = "New button;
But now I have seen that the form below also gives, accessing the properties directly with {
, what is this feature called?
var button = new Button(this.ApplicationContext)
{
Text = "New button"
};