Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good exercises to transition from coding in VB.NET to C#?

Tags:

c#

vb.net

What are some good exercises that an intermediate/advanced VB.NET web programmer should to do gain syntax chops on C#?

I imagine some good examples would be:

  • algorithms or project exercises that run the gamut of C# syntax
  • reference material
  • list of the key syntactical differences that VB.NET programmers should be aware of
like image 286
Matias Nino Avatar asked Nov 18 '09 17:11

Matias Nino


2 Answers

I think best exercise would to build something for yourself.

This way you can to define your scope, to "negotiate" new features and to write new code just for fun.

You could also to solve again problems you already know; for instance, I recommend trying to solve some problems from Project Euler in C#.

like image 68
Rubens Farias Avatar answered Oct 11 '22 08:10

Rubens Farias


I made the trasition by taking one of my hobby projects that was done in VB.NET and re-write it in C#. That got me started in a good manner; learning the syntax while working in a known problem domain, while also providing real-world problems to solve.

like image 36
Fredrik Mörk Avatar answered Oct 11 '22 07:10

Fredrik Mörk