Question Advice Needed - WPF with VB.net or C#

Slabs1960

Member
Joined
Mar 19, 2017
Messages
19
Programming Experience
10+
I am busy learning WPF and am going to tackle a new project soon.

I know VB.Net and like working with it. But, most books and references use C#. I have dabbled with C#, and I can learn it if needed. Is it worth the effort to learn C# with WPF, or do I stick with VB.Net and WPF.

Your thoughts?
 
I found this on the net. I smiled when I read it.

 
There's no reason to learn C# for the sake of learning WPF. VB can handle WPF just as well as C# can. That said, you need to be prepared to convert examples from C# to VB because most third-party MVVM examples and even most of the stuff you get from Microsoft will be in C#. Whatever the relative merits of the two languages (I work with both and like both for different reasons) C# is the more popular. If you think that you may need to do a fair bit of translation, I strongly recommend downloading and installing Instant VB from Tangible Software Solutions. It's far better than any online converter you'll find and the free version is all you'll need if you're just converting snippets.
 
There's no reason to learn C# for the sake of learning WPF. VB can handle WPF just as well as C# can. That said, you need to be prepared to convert examples from C# to VB because most third-party MVVM examples and even most of the stuff you get from Microsoft will be in C#. Whatever the relative merits of the two languages (I work with both and like both for different reasons) C# is the more popular. If you think that you may need to do a fair bit of translation, I strongly recommend downloading and installing Instant VB from Tangible Software Solutions. It's far better than any online converter you'll find and the free version is all you'll need if you're just converting snippets.

Thanks. I was thinking from a self development point of view. I was thinking since I am tackling WPF, I may as well learn C#, as well. It is always good to have a basic understanding of another language. I was just wondering if it was worth the effort.
 
I was just wondering if it was worth the effort.
That's always going to be a subjective question but I think my best answer would be "yes". If you are - or want to be - a professional developer then the answer is a resounding "yes", as C# skills are generally more in demand than VB. If you're more of a hobbyist, a knowledge of C# is going to make it easier to use information from the web that favours C# and there are also going to be some technologies that are available to C# sooner than VB and possibly only ever to C#. For instance, .NET Core doesn't have genuine VB support at the moment.
 
Back
Top