I'd like to use C# in place of
VB.NET for the examples in the book and not sure how to reference the User variables that are set up in the examples. Below is the code from Lesson 9. What would be the C# equivalent of Dts.Variables("strInt").Value, for example? Thanks much in advance.
If Dts.Variables("strInt").Value > 10 Then
Dts.Variables("strVar").Value = "Big"
Else
Dts.Variables("strVar").Value = "Small"
End If
MsgBox(Dts.Variables("strVar").Value)
Dts.TaskResult = ScriptResults.Success