No nothing new
>But that is how we do it all the time. That's really nothing new.
>
>>LMAO that is true, no dim in C#, you can do this in C#:
>>
>>
>>Button b = MyDataStructure.GetButton(44)
>>b.Text = "Hello"
>>b.BackColor = Color.Blue
>>
>>
>>
>>
>>>
>I think the authors of the article suggested something like this in C#:>>>
>>>I don't think so ... since when is "Dim" a valid C# statement? <g>
>>>
>>>~~Bonnie
>>>
>>>
>>>>I think the authors of the article suggested something like this in C#:
>>>>
>>>>Dim b as Button = MyDataStructure.GetButton(44)
>>>>b.Text = "Hello"
>>>>b.BackColor = Color.Blue
>>>>
>>>>to do the same thing as this in VB:
>>>>
>>>>With MyDataStructure.GetButton(44)
>>>> .Text = "Hello"
>>>> .BackColor = Color.Blue
>>>>End With
>>>>
>>>>
>>>>
>>>>
>>>>>Neil,
>>>>>
>>>>>That doesn't show *how* to do with/endwith in C# ... it explains why the C# Team did not include the with/endwith capability in C#.
>>>>>
>>>>>~~Bonnie
>>>>>
>>>>>
>>>>>
>>>>>>Holger,
>>>>>>
>>>>>>The link below is directly from the C# team and shows you how to do with..endwith in C#.
>>>>>>
>>>>>>
http://www.gotdotnet.com/team/csharp/learn/columns/ask.aspx#with>>>>>>
>>>>>>Regards
>>>>>>Neil
Semper ubi sub ubi.