D
DrOrbit
In Pascal/Delphi you can say
With MyStructure do begin
Field1 := something;
Field2 := somethingElse;
:
// and so on...
end;
"With MyStructure" avoids having to prepend "MyStructure" to every
reference to MyStructure's fields. Is there an equivalent in C#?
With MyStructure do begin
Field1 := something;
Field2 := somethingElse;
:
// and so on...
end;
"With MyStructure" avoids having to prepend "MyStructure" to every
reference to MyStructure's fields. Is there an equivalent in C#?