Bonjour,

Existe t'il un équivalent à With/End With de VB en C# ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 CODE VB :
With oDataset.Tables(NomProc)
    oRowCollec = .Rows
    oRow(.Columns("NomParam")) = oParam.Name
    oRow(.Columns("Type")) = oParam.Type
    oRow(.Columns("Taille")) = oParam.Size
    oRow(.Columns("Direction")) = oParam.Direction
End With

CODE C#: ?
Merci pour vos réponses...