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