I have a couple of things that I would like to have in VB.NET. Do you have ideas of other functions, methods or extensions of the language you are working with? Here are mine:
Extended WITH statement (like in Pascal), to change property of more than one object at time in same with-statement:
WITH Button1,Button4
.Enabled=false
End WITH
Grouping of objects
It would be nice to group objects of same type. Like all controls that handles a particular stage in the program, group them and control them all by the group.
dim EditControls as ObjectGroup(of controls) ={button1,button2,panel1,gridview3}
//affect all controls in the group
EditControls.Enabled=False
//Affect only Button1 in the group
EditControls.item(0).visible=false
EditControls.item("Button1").visible=false
Any more ideas? ;)