Sep 21, 2016 01:10 PM
(This post was last modified: Sep 21, 2016 01:11 PM by Mаestro.)
I've done a lot of work in VB.net and I'm learning C# in college. Since they both get compiled into IL the speed is similar if not basically the same from what I understand, I've heard that VB.net is mostly used for legacy applications compared to todays work in C#. Is there anyone that can shed some light on this topic for me?
DO NOT DEAL WITH THIS MEMBER
VB is looked down upon since it is not a derivative of the "C" languages, thus, few people use it, and therefore, few jobs.
(Sep 21, 2016 01:12 PM)jujuger Wrote: VB is looked down upon since it is not a derivative of the "C" languages, thus, few people use it, and therefore, few jobs.
Thats why python is so popular, because python syntax is similar to "C" languages... Oh wait... 🤣
VB.NET can be used to make GUI's (pronounced gooey) to track IP addresses. This is often used in crime solving.
(Sep 21, 2016 01:10 PM)Mаestro Wrote: I've heard that VB.net is mostly used for legacy applications
You're thinking of VB6, totally different to VB.NET. Here's a comparison though: en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Visual_Basic_.NET
Well OP you just asked a question that will make some noise 😝
🤝
DO NOT DEAL WITH THIS MEMBER
C# allows for unmanaged code I heard. Not sure what it means really.
The syntax is similar to other languages such as C, C++, Java, PHP even, etc.
DO NOT DEAL WITH THIS MEMBER
Sep 21, 2016 03:36 PM
(This post was last modified: Sep 21, 2016 03:37 PM by jujuger.)
(Sep 21, 2016 03:14 PM)Ninja Wrote: C# allows for unmanaged code I heard. Not sure what it means really.
The syntax is similar to other languages such as C, C++, Java, PHP even, etc.
You have 3 years experience and you don't know what managed code is?
Basically anything that needs .NET or some kind of interpreter is managed. While things like C++ and C are unmanaged.
http://www.c-sharpcorner.com/uploadfile/...de-in-net/
Learn from here mate
Sep 21, 2016 03:49 PM
(This post was last modified: Sep 21, 2016 03:49 PM by GuRuHaX.)
(Sep 21, 2016 03:36 PM)jujuger Wrote: You have 3 years experience and you don't know what managed code is?
Basically anything that needs .NET or some kind of interpreter is managed. While things like C++ and C are unmanaged.
http://www.c-sharpcorner.com/uploadfile/...de-in-net/
Learn from here mate
You can debug unmanaged code in VS :
https://msdn.microsoft.com/en-us/library....100).aspx
🤝
(Sep 21, 2016 01:43 PM)xvis Wrote: VB.NET can be used to make GUI's (pronounced gooey) to track IP addresses. This is often used in crime solving. not sure if kidding or naah
(Sep 21, 2016 03:14 PM)Ninja Wrote: C# allows for unmanaged code I heard. Not sure what it means really.
The syntax is similar to other languages such as C, C++, Java, PHP even, etc. c# allows unsafe code, which means you can use pointers.
and the language is similar to c, c++ and java. wouldn't compare it to php tho.
but in the end both are compiled down to msil, so it's more or less a question about the syntax and learning c# makes it easier to adapt others.
(Sep 21, 2016 04:32 PM)DisguiserNET Wrote: not sure if kidding or naah
c# allows unsafe code, which means you can use pointers.
and the language is similar to c, c++ and java. wouldn't compare it to php tho.
but in the end both are compiled down to msil, so it's more or less a question about the syntax and learning c# makes it easier to adapt others.
Kidding, of course.
I'd like to add that the job market leans towards C#, not sure why but its probably to do with it being similar to other languages and it attracts more experienced developers (?).
If it is just for a hobby then it doesn't really matter. You might want to do some research on libraries though as there is a few that doesn't support VB like Xamarin, which is popular for developing mobile apps (I think just Android).
DO NOT DEAL WITH THIS MEMBER
(Sep 21, 2016 04:32 PM)DisguiserNET Wrote: not sure if kidding or naah
c# allows unsafe code, which means you can use pointers.
and the language is similar to c, c++ and java. wouldn't compare it to php tho.
Ah unsafe that was it.
DO NOT DEAL WITH THIS MEMBER
(Sep 21, 2016 04:32 PM)DisguiserNET Wrote: not sure if kidding or naah
c# allows unsafe code, which means you can use pointers.
and the language is similar to c, c++ and java. wouldn't compare it to php tho.
but in the end both are compiled down to msil, so it's more or less a question about the syntax and learning c# makes it easier to adapt others.
Yeah, but unsafe code allows for more than just pointers, if I remember correctly it also turns off the .NET memory checking and stuff. Allowing stuff like memory overflows. Low level memory management.
Quote:There are almost no performance issues between Visual Basic .NET and Visual C# .NET. Visual C# .NET may have a few more "power" features such as handling unmanaged code, and Visual Basic .NET may be skewed a little toward ease of use by providing features such as late binding. However, the differences between Visual Basic .NET and Visual C# .NET are very small compared to what they were in earlier versions.
Source: https://support.microsoft.com/en-us/kb/308470
From what i have understood Vb.net and c# dont have any differences (or just very mild ones) after compiling. but mostly because of the c style syntax and some specific C# features, most people find it to be better in terms of writing it. which also corresponds to the helpful resources. i bet if you google something and add c# to the end, you are going to get a lot more results than for vb.net.
|