bungpeng Posted September 17, 2002 Posted September 17, 2002 In .NET environment, can I say these two languages are same powerful? I found that most of Microsoft guys use C# rather than VB, is it C# can do something VB cannot? or other reason? Quote
Leaders quwiltw Posted September 17, 2002 Leaders Posted September 17, 2002 While there are certain language specific things supported in each like operator overloading in C#, I'm pretty sure they are equals in that they both sit on the same framework and therefore have the same power exposed to them. I think language choice is purely what one feels comfortable with and it just happens that the MS guys are more comfortable with C#. If my customer didn't specify VB, I'd be coding in C# right now too just because I like the C# syntax much better than VB. Quote --tim
*Gurus* Derek Stone Posted September 17, 2002 *Gurus* Posted September 17, 2002 Straight from the mouth of Microsoft. http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q308470 Quote Posting Guidelines
Moderators Robby Posted September 18, 2002 Moderators Posted September 18, 2002 I did read somewhere that C# is 3 to 10% faster in some case than VB.NET. BTW, you can put C# and VB.NET code in the same solution. Quote Visit...Bassic Software
Leaders quwiltw Posted September 18, 2002 Leaders Posted September 18, 2002 I did read somewhere that C# is 3 to 10% faster in some case than VB.NET. I, perhaps naively, don't understand how that could be. Since they compile down to the same CIL code, it seems like they should be the same. Of course my simple understanding assumes that the compiler for C# and VB.NET are equally well-written. I think I've even seen a demo where the same program was written in both languages and when they pulled up the CIL code it was the same. Could be mistaken though, as I don't claim to fully understand the world of runtimes and virtual machines Quote --tim
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.