I am doing a GUI subject for uni at the moment and they say to use VB.Net. This is irrelevant but what they are teaching amazes me. The methods they are teaching to do basic things are the Bad way so to speak.
For instance, MsgBox("blah"), wouldnt you want to teach someone to use MessageBox.Show() for the fact that it is used both in vb and C# and that MsgBox is the old way?
Another example is trying to tell us to use a keypress event and watch for Enter.
e.KeyChar = Microsoft.VisualBasic.ChrW(13)
Wouldnt you use e.KeyChar = Keys.Enter
Anyway, be interesting to see how they mark me if I dont do it their way and actually do it the correct way!!
For instance, MsgBox("blah"), wouldnt you want to teach someone to use MessageBox.Show() for the fact that it is used both in vb and C# and that MsgBox is the old way?
Another example is trying to tell us to use a keypress event and watch for Enter.
e.KeyChar = Microsoft.VisualBasic.ChrW(13)
Wouldnt you use e.KeyChar = Keys.Enter
Anyway, be interesting to see how they mark me if I dont do it their way and actually do it the correct way!!