I was wondering if there is a command in C# which I can use like with command in Delphi?
with command
// like this : with(textbox1) { .text=\"some text as
Not for already created instances.
However, when you create a new instance you can do:
var textbox1 = new Textbox { Text = "some text as text of text box", Tag = 1231 };