English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I wonder if it is possible to learn both on the samethimes without be confused? I am new to programming.

2007-09-17 04:07:23 · 5 answers · asked by George 1 in Computers & Internet Programming & Design

5 answers

why would you want to my advice is c# i use to be a vb6 developer then went to vb.net and later moved to c#

c# was a lot better and taught me a lot of rules vb never did from doing c# i learnt basis of class struture therfore meaning i can pick up things like c++ and c a lot easier my advice is only do 1 of them

and not only that if u know c# then u can pick up vb.net at a later date quite quickly if u need to but 1s u get use to 1 its very hard to go bk i use to use vb every day now i stuggle doing basic programs in it since im so use to declare things in my mind the prober way

c#
int x = 1;
int b = 2;
textbox1.text = convert.tostring(x+b);


in vb.net
Dim x As Integer
Dim b As Integer
x = 1
b = 2
TextBox1.Text = (x + b)

and since c# uses ; and {} u can make ur code a lot neater by putting all little procces on 1 line
such as

this.width = 24; this.text = "mkb main";

where as on vb every bit needs a seprate line meaning u sometimes have 2 pages of code which just looks realy messy and its only a line each
and if statments get mucky i belive in vb.net

If sgertatus = "Busy" Then
MSN.MyStatus = MessengerAPI.MISTATUS.MISTATUS_BUSY
ElseIf sgertatus = "apear offline" Then
MSN.MyStatus = MessengerAPI.MISTATUS.MISTATUS_INVISIBLE
end if

where as in c# lot nicer looking

but dont listen to me my advice is try both for a week and see which 1 u find easier then continue with that 1

i will say tho vb.net does put u in some quite bad programming trates which if later on u wish to go more advance such as c++ u will find it hard to break them trates where as c# doesnt have many bad trates (non spring to mind any way)

2007-09-17 04:19:44 · answer #1 · answered by m b 5 · 0 1

the main difference between the two is that if you already know C then you would use C#.

C# and VB.net do basically the same thing its just a language syntax and style difference between them.

If you are just learning programming and starting with Visual Basic then VB.net would be the natural path to go.

However the C language is more powerful and many web languages use C like syntax. So I would recommend taking a C/ C+ course and steering towards C# , especially if your were to learn only one language.

The downside to C is that it is not a beginners language and some concepts which are taught in VB such as string handling and concatenation are done in C with Arrays and pointers. VB has the advantage of being beginner friendly and is easier to work with strings.

2007-09-17 08:52:18 · answer #2 · answered by MarkG 7 · 1 0

It might not be a good idea to try to learn VB.NET and C# at the same time. There are enough similarities (and differences) between these two that you might get confused. I would recommend starting out with VB.NET first. Once you have mastered that, then move on to C#.

2007-09-17 04:15:46 · answer #3 · answered by Little Sam 5 · 0 0

I think this question really depends on how language specific you get when learning, and how easy it is for you to differentiate between two languages. I would suggest, as a beginner, that you should not focus most of your attention on a specific language, but on the Microsoft .Net framework and the methods that it contains.

Based on my experience, there are a couple of things to think about when deciding to learn a new language or two. What is the purpose of learning either language? Do you, personally, have an avid interest in both languages? -- Any task that can be accomplished in one of these languages can be done in the other. The real difficulty will be differentiating between the two syntaxes.

2007-09-17 04:57:03 · answer #4 · answered by Amit M 2 · 0 0

examining greater advantageous than programming language in line with day is particularly no longer a situation, and could no longer get you perplexed in in any respect. tremendously while examining 2 languages of the comparable nature (merchandise orientated). yet confirm you prepare on writing classes fairly than examining classes to progression enormously lots. sturdy success!

2016-12-26 15:10:13 · answer #5 · answered by ? 4 · 0 0

fedest.com, questions and answers