473,394 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

C# to VB crossover questions

I have been studying C# for 18 months via a distance-learning course, but
having just got my first IT job, I will be using only VB .NET as the
programming language.

The syntax is very similar, and I shouldn't have too much trouble picking it
up, but I was wondering if anyone can point out any major differences between
the two languages.

I know that arrays are resizable in VB as opposed to having a set length in
C#, but it's things like modules (I guess that's just another .VB file,
please correct me if I'm wrong) and other terminology which I have to cover.

I would really appreciate any input from the community so that I can make a
good impression on my first day in my first IT position.
Nov 21 '05 #1
10 1487
CashDeskMac,

The best I have read until now.

http://groups-beta.google.com/group/...cce63bb7?hl=en

I hope this helps,

Cor
Nov 21 '05 #2
Many thanks, Cor.

Any other pointers would also be appreciated.

"Cor Ligthert" wrote:
CashDeskMac,

The best I have read until now.

http://groups-beta.google.com/group/...cce63bb7?hl=en

I hope this helps,

Cor

Nov 21 '05 #3
Just write all your code in C# and use a converter to turn it into VB at the
end of the day when your boss asks what you've been doing :-)

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
I have been studying C# for 18 months via a distance-learning course, but
having just got my first IT job, I will be using only VB .NET as the
programming language.

The syntax is very similar, and I shouldn't have too much trouble picking
it
up, but I was wondering if anyone can point out any major differences
between
the two languages.

I know that arrays are resizable in VB as opposed to having a set length
in
C#, but it's things like modules (I guess that's just another .VB file,
please correct me if I'm wrong) and other terminology which I have to
cover.

I would really appreciate any input from the community so that I can make
a
good impression on my first day in my first IT position.

Nov 21 '05 #4
Hi,

I was thinking what would be the most difficult to find for you.

That are probably the events. Those are in two dropdownboxes abover your
code.
Those add automaticly extra code to the sub/function method (sub is a void
function)..

(You can use in code the same as in C# that is "addhandler").

Just came in my mind.

Here probably a great page for you.

http://www.harding.edu/USER/fmccown/...omparison.html

I hope this helps,

Cor
Nov 21 '05 #5
http://msdn.microsoft.com/library/de...deexamples.asp

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
: I have been studying C# for 18 months via a distance-learning course,
but
: having just got my first IT job, I will be using only VB .NET as the
: programming language.
:
: The syntax is very similar, and I shouldn't have too much trouble
picking it
: up, but I was wondering if anyone can point out any major differences
between
: the two languages.
:
: I know that arrays are resizable in VB as opposed to having a set
length in
: C#, but it's things like modules (I guess that's just another .VB
file,
: please correct me if I'm wrong) and other terminology which I have to
cover.
:
: I would really appreciate any input from the community so that I can
make a
: good impression on my first day in my first IT position.
Nov 21 '05 #6
Many thanks, everyone. These links have been most helpful.

Cashdeskmac.

"_AnonCoward" wrote:
http://msdn.microsoft.com/library/de...deexamples.asp

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
: I have been studying C# for 18 months via a distance-learning course,
but
: having just got my first IT job, I will be using only VB .NET as the
: programming language.
:
: The syntax is very similar, and I shouldn't have too much trouble
picking it
: up, but I was wondering if anyone can point out any major differences
between
: the two languages.
:
: I know that arrays are resizable in VB as opposed to having a set
length in
: C#, but it's things like modules (I guess that's just another .VB
file,
: please correct me if I'm wrong) and other terminology which I have to
cover.
:
: I would really appreciate any input from the community so that I can
make a
: good impression on my first day in my first IT position.

Nov 21 '05 #7
There 2, perhaps, useful books.

Brian Bischof's "The .NET Languages: A Quick Translation Guide".

John Mojica's "C# & VB.NET Conversion Pocket Reference".

--
http://www.standards.com/; See Howard Kaikow's web site.
"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
I have been studying C# for 18 months via a distance-learning course, but
having just got my first IT job, I will be using only VB .NET as the
programming language.

The syntax is very similar, and I shouldn't have too much trouble picking it up, but I was wondering if anyone can point out any major differences between the two languages.

I know that arrays are resizable in VB as opposed to having a set length in C#, but it's things like modules (I guess that's just another .VB file,
please correct me if I'm wrong) and other terminology which I have to cover.
I would really appreciate any input from the community so that I can make a good impression on my first day in my first IT position.

Nov 21 '05 #8
Please download the demo edition of our Instant VB C# to VB.NET converter at
www.instantvb.com (free + fully supported). For your purposes, the snippet
converter feature may be a handy reference.

David Anton
www.tangiblesoftwaresolutions.com
Home of:
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter

"cashdeskmac" wrote:
I have been studying C# for 18 months via a distance-learning course, but
having just got my first IT job, I will be using only VB .NET as the
programming language.

The syntax is very similar, and I shouldn't have too much trouble picking it
up, but I was wondering if anyone can point out any major differences between
the two languages.

I know that arrays are resizable in VB as opposed to having a set length in
C#, but it's things like modules (I guess that's just another .VB file,
please correct me if I'm wrong) and other terminology which I have to cover.

I would really appreciate any input from the community so that I can make a
good impression on my first day in my first IT position.

Nov 21 '05 #9
Also this:

http://support.microsoft.com/default...;EN-US;Q308470
"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
: Many thanks, everyone. These links have been most helpful.
:
: Cashdeskmac.
:
: "_AnonCoward" wrote:
:
: >
http://msdn.microsoft.com/library/de...deexamples.asp
: >
: > "cashdeskmac" <ca*********@discussions.microsoft.com> wrote in
message
: > news:BF**********************************@microsof t.com...
: > : I have been studying C# for 18 months via a distance-learning
course,
: > but
: > : having just got my first IT job, I will be using only VB .NET as
the
: > : programming language.
: > :
: > : The syntax is very similar, and I shouldn't have too much trouble
: > picking it
: > : up, but I was wondering if anyone can point out any major
differences
: > between
: > : the two languages.
: > :
: > : I know that arrays are resizable in VB as opposed to having a set
: > length in
: > : C#, but it's things like modules (I guess that's just another .VB
: > file,
: > : please correct me if I'm wrong) and other terminology which I have
to
: > cover.
: > :
: > : I would really appreciate any input from the community so that I
can
: > make a
: > : good impression on my first day in my first IT position.
: >
: >
: >
Nov 21 '05 #10
Basically,

You'll just have to learn to do most things a lot easier and with a lot less
thought. ;) VB is much friendlier.

Possible the VB.NET Resource Kit with all of it's examples would be a good
place to see some sample code and differences. Also, I don't remember the
link but there is a good article...possibly by Microsoft... that outlines
the differences in the two.

Shane

"cashdeskmac" <ca*********@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
I have been studying C# for 18 months via a distance-learning course, but
having just got my first IT job, I will be using only VB .NET as the
programming language.

The syntax is very similar, and I shouldn't have too much trouble picking
it
up, but I was wondering if anyone can point out any major differences
between
the two languages.

I know that arrays are resizable in VB as opposed to having a set length
in
C#, but it's things like modules (I guess that's just another .VB file,
please correct me if I'm wrong) and other terminology which I have to
cover.

I would really appreciate any input from the community so that I can make
a
good impression on my first day in my first IT position.

Nov 21 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John A. Bailo | last post by:
I wrote two windows services that are slight variations on each other. I changed the assembly name ( .exe ) and the namespace within each other. Both have some static methods that share the...
0
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate...
4
by: Drew | last post by:
I posted this to the asp.db group, but it doesn't look like there is much activity on there, also I noticed that there are a bunch of posts on here pertaining to database and asp. Sorry for...
2
by: jrmemon007 | last post by:
I have 2 computers, one is a acer laptop and the other is a desktop. i want to connect the computers without a router, and only using the crossover cable. After some hardwork the laptop establishes a...
8
by: Krypto | last post by:
Hi, I have used Python for a couple of projects last year and I found it extremely useful. I could write two middle size projects in 2-3 months (part time). Right now I am a bit rusty and trying...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.