1
I always saw it in the c#
var button = new Button(this.ApplicationContext);
button.Text = "New button;
Only now I saw that the way below also the, accessing the properties directly with {
, what this resource is called?
var button = new Button(this.ApplicationContext)
{
Text = "New button"
};