Dear Experts
Please suggest me when to use vb.net and when to use c#.net
Which technology to be used and when
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Mahesh ChandRank #1 · 393.3K reputationPosted Mar 24, 2011, 4:23 AM EDT
VulpesRank #55 · 29.2K reputationPosted Mar 24, 2011, 4:39 AM EDT
However, there's one thing which C# has which VB.Net doesn't have, namely the ability to use pointers in unsafe code. This is useful for accessing memory mapped devices (e.g. embedded programming) or speeding up some types of algorithm (e.g. certain games).
Personally, I also find it much easier to use C# rather than VB in applications which require considerable interop with unmanaged code written in C/C++ because the syntax of C# is, of course, closer to the latter.