I did try to search for posts containing "c#", but unfortuately the search tool will not allow a 2 character search term. If I am asking questions that have already been asked, please forgive me.
I have been using C# since RC2, but now I need to start using VB for a new job. Here are some of my frustrations so far, I am hoping that there are just different ways of doing these things in VB that I am not aware of. Any help would be appreciated.
1) Creating Properties: I created a boolean property called "Running" with a private member named "_running". In C# this took me 27 key strokes and in VB it took 85. Most of that is due to the fact that I have to manually create the "get" and "set" and the fact that when I type "return " intellisense only offers me "true" and "false" but not "_running", the same with the "set". Is there a faster way of creating properties?
2) Namespaces: Is there a way to have VB automatically add the namespace? If not, is there an easier way to add the namespace declaration than having to add it to both Partial classes?
3) Access Modifiers: Is there a way to enable auto completion for the access modifiers, or do I have to type out "public", "private", etc everytime?
4) Auto-Completion: Is there a way to enable auto intellisense for parameters and such? I.E. I have a sub with a parameter named "myParam". Do I have to type "m" and then hit the <alt> <right-arrow> to get the intellisense to pop up or can I somehow enable automatic intellisense.
It seems to take approximately 4 times the keystrokes to perform a task in VB as in C#. Is there a better way to configure VB to lessen the amount of keystrokes it takes to perform these tasks, or does anyone know of a good tool I can buy? I consider myself a fairly fast coder and I'm really afraid that this is going to slow me down; especially since I'm not a touch-typist and can only type about 45 wpm (which is pretty good for a hunt-n-pecker).
I have been using C# since RC2, but now I need to start using VB for a new job. Here are some of my frustrations so far, I am hoping that there are just different ways of doing these things in VB that I am not aware of. Any help would be appreciated.
1) Creating Properties: I created a boolean property called "Running" with a private member named "_running". In C# this took me 27 key strokes and in VB it took 85. Most of that is due to the fact that I have to manually create the "get" and "set" and the fact that when I type "return " intellisense only offers me "true" and "false" but not "_running", the same with the "set". Is there a faster way of creating properties?
2) Namespaces: Is there a way to have VB automatically add the namespace? If not, is there an easier way to add the namespace declaration than having to add it to both Partial classes?
3) Access Modifiers: Is there a way to enable auto completion for the access modifiers, or do I have to type out "public", "private", etc everytime?
4) Auto-Completion: Is there a way to enable auto intellisense for parameters and such? I.E. I have a sub with a parameter named "myParam". Do I have to type "m" and then hit the <alt> <right-arrow> to get the intellisense to pop up or can I somehow enable automatic intellisense.
It seems to take approximately 4 times the keystrokes to perform a task in VB as in C#. Is there a better way to configure VB to lessen the amount of keystrokes it takes to perform these tasks, or does anyone know of a good tool I can buy? I consider myself a fairly fast coder and I'm really afraid that this is going to slow me down; especially since I'm not a touch-typist and can only type about 45 wpm (which is pretty good for a hunt-n-pecker).