3
Reply

CSharp WITH?

Ask a question
Fred At

Fred At

14y
4.4k
1

Hello All,

I am a CSharp newbie - moving across from Delphi.  For the most part I find things easy - not surprising given the origins of CSharp.  However, every once in a while I find myself looking for a Delphi equivalent in CSharp.  Right now I am wondering if there is a CSharp equivalent for the Delphi WITH keyword.  e.g.


with Object do

begin


end;


Does something similar exist in CSharp? I'd much appreciate the tip.



Answers (3)