Difference between c# and VB.Net
-
C# is what you use when coding for yourself VB is what you use when coding for others higher up the management food chain.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
I had to laugh at this one - I moved the teams from VB to C# about 2 years ago and the MD asked why I had done it, the answer was so he could no longer understand the code. It didn't go down that well in a large meeting.
Never underestimate the power of human stupidity RAH
-
I had to laugh at this one - I moved the teams from VB to C# about 2 years ago and the MD asked why I had done it, the answer was so he could no longer understand the code. It didn't go down that well in a large meeting.
Never underestimate the power of human stupidity RAH
I am under instructions from my boss to only use VB as he can follow it and he knows a tiny bit of VBA so wants it consistant. OK, no probs, but I try to float in c# where I can, simply to confound him from time to time.
------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
-
Yes, but this didn't strike me as irony, I seems like c actually means it, and I'm so tired of listening to people who are supposed to be intelligent people write such nonsense as this. As for my coding, I code in both C# and VB.NET with same enthusiasm... (or lack thereof, whichever the case might be) :)
Johnny J. wrote:
Yes, but this didn't strike me as irony, I seems like c actually means it, and I'm so tired of listening to people who are supposed to be intelligent people write such nonsense as this.
There was irony. Roughly speaking, the languages are functionally equivalent so there must NOT be a big difference between (and there must be a big difference between
VB6
andVB.NET
). You can't sayVB.NET
is a crap, while sayingC#
is advanced, just because you like more the latter one's syntax. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Last weekend I went for an interview in a Reputed organization. The first question from the interview panel was the difference between VB.Net and C#. I just came back!!! Can any one here spot the differences :)
"Never put off until run time what you can do at compile time." - David Gries, in "Compiler Construction for Digital Computers", circa 1969.
-
Last weekend I went for an interview in a Reputed organization. The first question from the interview panel was the difference between VB.Net and C#. I just came back!!! Can any one here spot the differences :)
"Never put off until run time what you can do at compile time." - David Gries, in "Compiler Construction for Digital Computers", circa 1969.
I've had this ina few interviews, they usually just wanted to guage my understanding of the .NET framework. In the more recent one, it was because they knew I came from a C# background and they're predominantly a VB.NET house so wanted to make sure that I could switch ok.
-
Johnny J. wrote:
Yes, but this didn't strike me as irony, I seems like c actually means it, and I'm so tired of listening to people who are supposed to be intelligent people write such nonsense as this.
There was irony. Roughly speaking, the languages are functionally equivalent so there must NOT be a big difference between (and there must be a big difference between
VB6
andVB.NET
). You can't sayVB.NET
is a crap, while sayingC#
is advanced, just because you like more the latter one's syntax. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Last weekend I went for an interview in a Reputed organization. The first question from the interview panel was the difference between VB.Net and C#. I just came back!!! Can any one here spot the differences :)
"Never put off until run time what you can do at compile time." - David Gries, in "Compiler Construction for Digital Computers", circa 1969.
J a a n s wrote:
The first question from the interview panel was the difference between VB.Net and C#.
I would just answer: "I am here for a C# job, did you see VB.NET on my resume?"
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
J a a n s wrote:
with out any satisfactory reasons from the HR dept
That's their prerogative. If, for instance, they are interviewing lots of people then they, quite frankly, don't have to give you a reason. They are doing you the favour of interviewing you, not the other way round.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
They are doing you the favour of interviewing you, not the other way round.
Rubbish. Or at least not the way I look at interviews. I can take any job I please, they are looking for 1 individual. Therefore Im doing them the favour of offering my services, if they don't cut the mustard (and that includes shoddy interview/working practices) I hit the door and walk into the next interview. At the very least, Interviews are a 2 way process - with me interviewing the company just as equally as they are interviewing me.
-
'C#' == 0x4323 'VB' == 0x5642 0x5642 > 0x4323 So this proves that 'VB' is greater than 'C#' and because 'C++' is 0x432b2b it is the greatest. Best Wishes, -David Delaune
Well, I fear the
VB6
coder testing your method...Oh, well, after all he/she is aVB6
coder. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
'C#' == 0x4323 'VB' == 0x5642 0x5642 > 0x4323 So this proves that 'VB' is greater than 'C#' and because 'C++' is 0x432b2b it is the greatest. Best Wishes, -David Delaune
I'm sorry, but Alphabetical order takes precedence!
Did you know: That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
-
J a a n s wrote:
with out any satisfactory reasons from the HR dept
That's their prerogative. If, for instance, they are interviewing lots of people then they, quite frankly, don't have to give you a reason. They are doing you the favour of interviewing you, not the other way round.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Johnny J. wrote:
Yes, but this didn't strike me as irony, I seems like c actually means it, and I'm so tired of listening to people who are supposed to be intelligent people write such nonsense as this.
There was irony. Roughly speaking, the languages are functionally equivalent so there must NOT be a big difference between (and there must be a big difference between
VB6
andVB.NET
). You can't sayVB.NET
is a crap, while sayingC#
is advanced, just because you like more the latter one's syntax. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
J a a n s wrote:
The first question from the interview panel was the difference between VB.Net and C#.
I would just answer: "I am here for a C# job, did you see VB.NET on my resume?"
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
Pete O'Hanlon wrote:
They are doing you the favour of interviewing you, not the other way round.
Rubbish. Or at least not the way I look at interviews. I can take any job I please, they are looking for 1 individual. Therefore Im doing them the favour of offering my services, if they don't cut the mustard (and that includes shoddy interview/working practices) I hit the door and walk into the next interview. At the very least, Interviews are a 2 way process - with me interviewing the company just as equally as they are interviewing me.
Agreed: If I don't get seen within 15 minutes of the agreed time I start asking questions and, without a proper reason for the delay, I leave. It's just plain bloody rude to expect someone to give up their time and then keep them waiting without even bothering to tell them why.
me, me, me "The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!" Larry Niven nils illegitimus carborundum
-
VB.NET
is a crap,C#
is a truly advanced language. They are functionally equivalent. :rolleyes:If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]CPallini wrote:
C# is a truly advanced language.
You're starting to make sense...
CPallini wrote:
They are functionally equivalent.
...for a short moment. Yes there are some functional overlaps. You of all people should know VB.NET doesn't offer pointers. :-D
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
-
J a a n s wrote:
with out any satisfactory reasons from the HR dept
That's their prerogative. If, for instance, they are interviewing lots of people then they, quite frankly, don't have to give you a reason. They are doing you the favour of interviewing you, not the other way round.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
That's their prerogative. If, for instance, they are interviewing lots of people then they, quite frankly, don't have to give you a reason. They are doing you the favour of interviewing you, not the other way round.
If that's the respect they show you when you don't yet work for them, what can you expect when you take the job?
I wanna be a eunuchs developer! Pass me a bread knife!
-
Last weekend I went for an interview in a Reputed organization. The first question from the interview panel was the difference between VB.Net and C#. I just came back!!! Can any one here spot the differences :)
"Never put off until run time what you can do at compile time." - David Gries, in "Compiler Construction for Digital Computers", circa 1969.
;
I wanna be a eunuchs developer! Pass me a bread knife!
-
Pete O'Hanlon wrote:
They are doing you the favour of interviewing you, not the other way round.
Rubbish. Or at least not the way I look at interviews. I can take any job I please, they are looking for 1 individual. Therefore Im doing them the favour of offering my services, if they don't cut the mustard (and that includes shoddy interview/working practices) I hit the door and walk into the next interview. At the very least, Interviews are a 2 way process - with me interviewing the company just as equally as they are interviewing me.
J4amieC wrote:
I can take any job I please, they are looking for 1 individual. Therefore Im doing them the favour of offering my services, if they don't cut the mustard (and that includes shoddy interview/working practices) I hit the door and walk into the next interview.
In a strong employment market, this is the case. The reality, at the moment, is that I don't need to hire you - there are a lot of others who would be willing to take the job. It's a hirers market at the moment and if you need a job, you can't afford to be that choosy; unless you fancy flipping burgers.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
CPallini wrote:
C# is a truly advanced language.
You're starting to make sense...
CPallini wrote:
They are functionally equivalent.
...for a short moment. Yes there are some functional overlaps. You of all people should know VB.NET doesn't offer pointers. :-D
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
Luc Pattyn wrote:
Yes there are some functional overlaps
:-D
Luc Pattyn wrote:
C# is a truly advanced language.
Luc Pattyn wrote:
VB.NET doesn't offer pointers.
:laugh:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
J4amieC wrote:
I can take any job I please, they are looking for 1 individual. Therefore Im doing them the favour of offering my services, if they don't cut the mustard (and that includes shoddy interview/working practices) I hit the door and walk into the next interview.
In a strong employment market, this is the case. The reality, at the moment, is that I don't need to hire you - there are a lot of others who would be willing to take the job. It's a hirers market at the moment and if you need a job, you can't afford to be that choosy; unless you fancy flipping burgers.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.