Learning C # as a VB.NET Programmer

I want to switch to C #. I come from C / C ++, but C # is a little different for me. I switch mainly due to Silverlight and MVVM; all examples are in C #. Any information is in C #, and I got confused when I read everything.

What is a good place to start learning C # using existing C / C ++ knowledge?

+5
source share
6 answers

Start writing code in C # ASAP. The only way to learn a language is to write it. You already understand VB.NET. You have tremendous leadership on any new for .NET.

Take the small application you wrote in VB.NET and methodically change it to C #.

You will quickly learn the syntax, etc.

#. , .

+17

#.:)

+1

VB.NET , #. , . , VB.NET. , .

, - VB'er, VB, , . , , . , # RaiseEvent. #, ( / ++). , ++, .

, , . , , . , .

, # - . , .NET, , MS .

.

+1
+1

, ++ ( ) VB.Net( ), # , . , # .

, - .

0

, , -

, .

This is enough to get you started, however C # has language features that VB does not do, or VB offers so verbose that no one uses it.

The more functions you come across, as you look at code samples from all over the Internet (for example, stack overflows), and you need to either look for the syntax or function manually, or convert from C # back to vb to understand what it does (use same converter). Or just insert it and see what it does.

0
source

All Articles