Hi.
What are the differences between C# and VB.NET apart from syntax?which is more powerful,how do we determine which language to be used when designing a .NET app?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Oct 30, 2012, 6:48 AM EDT
However, by using the 'unsafe' keyword, you can use pointers provided that you take responsibility for any errors that may occur as a result of the code being unverifiable.
In my experience, unsafe code is only used in a small minority of applications - mostly those which are interfacing with hardware or with code written in unmanaged languages such as C/C++.
So this is not really a major omission as far as VB.NET is concerned.
Apart from this, there's a long list of minor differences between C# and VB.NET but none of them are significant enough to sway you one way or the other when choosing between the two languages, IMO.
VulpesRank #55 · 29.2K reputationPosted Oct 30, 2012, 6:24 AM EDT
Deepali Patil137 reputationPosted Oct 30, 2012, 6:33 AM EDT
and is this is only difference?
Deepali Patil137 reputationPosted Oct 30, 2012, 7:00 AM EDT
Deepali Patil137 reputationPosted Oct 30, 2012, 7:00 AM EDT