What are the most important functional differences between C# and VB.NET?

Question :

What are the most important functional differences between C# and VB.NET?,

Answer :

Certainly there’s the difference in general syntax, but what other critical distinctions exist? There are some differences, right?

,

The linked comparisons are very thorough, but as far as the main differences I would note the following:

  • C# has anonymous methodsVB has these now, too
  • C# has the yield keyword (iterator blocks)VB11 added this
  • VB supports (C# has explicit late binding now via the dynamic keyword)
  • VB supports XML literals
  • VB is case insensitive
  • More out-of-the-box code snippets for VB
  • More out-of-the-box refactoring tools for C#Visual Studio 2015 now provides the same refactoring tools for both VB and C#.
Read More  What do you think will be the level of usage of Silverlight 1 year from now?

In general the things MS focuses on for each vary, because the two languages are targeted at very different audiences.has a good summary of the target audiences. It is probably a good idea to determine which audience you are in, because it will determine what kind of tools you’ll get from Microsoft.

That’s the answer What are the most important functional differences between C# and VB.NET?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  grep a file, but show several surrounding lines?

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you