This post originated from an RSS feed registered with .NET Buzz
by Anand M.
Original Post: Late Binding - VB vs C#
Feed Title: .NET From India
Feed URL: http://www.dotnetindia.com/index.rss
Feed Description: Your daily dose of .NET From India
Scott Hanselman has a nice post on trying to use C# and VB with Office Interop and how he found that VB made it a lot easier.
I have always argued that the two thing that acutally bring power to Office Interop when using VB is Optional arguments and late binding. Though I have made this argument many times to my peers (almost always without code in hand as they are mostly arguments over cups of coffee) this post actually has an example using the two languages and nobody can dispute the differnce in complexity that the C# sample has.
This also illustrates a point I always try to make.. It rarely makes sense arguing VB vs C# except in certain scenarios. This is one of them... In most cases choose the language you are comfortable with and start coding. It just happens that VB is that language of choice for me..