Entsprechung von "Mit ... Ende mit" in C #? [Duplikat]
Diese Frage hat hier bereits eine Antwort:
Mit Blockäquivalent in C #? 15 AntwortenIch weiß, dass C # das hatusing
Stichwort, aberusing
entsorgt das Objekt automatisch.
Gibt es die Äquivalenz vonWith...End With
imVisual Basic 6.0?