|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
C# to VB crossover questionsI 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. CashDeskMac,
The best I have read until now. http://groups-beta.google.com/group/microsoft.public.dotnet.general/msg/804482b9cce63bb7?hl=en I hope this helps, Cor Many thanks, Cor.
Any other pointers would also be appreciated. Show quoteHide quote "Cor Ligthert" wrote: > CashDeskMac, > > The best I have read until now. > > http://groups-beta.google.com/group/microsoft.public.dotnet.general/msg/804482b9cce63bb7?hl=en > > I hope this helps, > > Cor > > > 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 :-) -- Show quoteHide quoteBob 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" <cashdesk***@discussions.microsoft.com> wrote in message news:BF3671C2-FB01-43D5-B579-2936288D4BBC@microsoft.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. 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/WWW/vbnet_csharp_comparison.html I hope this helps, Cor
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrflanguageequivalentscodeexamples.asp
Show quote Hide quote "cashdeskmac" <cashdesk***@discussions.microsoft.com> wrote in message
news:BF3671C2-FB01-43D5-B579-2936288D4BBC@microsoft.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. Many thanks, everyone. These links have been most helpful.
Cashdeskmac. Show quoteHide quote "_AnonCoward" wrote: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrflanguageequivalentscodeexamples.asp > > "cashdeskmac" <cashdesk***@discussions.microsoft.com> wrote in message > news:BF3671C2-FB01-43D5-B579-2936288D4BBC@microsoft.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. > > > Also this:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q308470 "cashdeskmac" <cashdesk***@discussions.microsoft.com> wrote in message http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrflanguageequivalentscodeexamples.aspnews:FCCA9477-B596-425B-AE0E-3D5B4B33A977@microsoft.com... : Many thanks, everyone. These links have been most helpful. : : Cashdeskmac. : : "_AnonCoward" wrote: : : > Show quoteHide quote : > : > "cashdeskmac" <cashdesk***@discussions.microsoft.com> wrote in message : > news:BF3671C2-FB01-43D5-B579-2936288D4BBC@microsoft.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. : > : > : > There 2, perhaps, useful books.
Brian Bischof's "The .NET Languages: A Quick Translation Guide". John Mojica's "C# & VB.NET Conversion Pocket Reference". Show quoteHide quote "cashdeskmac" <cashdesk***@discussions.microsoft.com> wrote in message news:BF3671C2-FB01-43D5-B579-2936288D4BBC@microsoft.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. 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 Show quoteHide quote "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. 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 Show quoteHide quote "cashdeskmac" <cashdesk***@discussions.microsoft.com> wrote in message news:BF3671C2-FB01-43D5-B579-2936288D4BBC@microsoft.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.
VS Pro 2005 vis a vis VSTO 2005
Multi Forms hide control based on SQLS2K column level permission Update Element in ArrayList Structure Large fonts setting (120DPI) Add record to Access Databases Q: Status Bar Vanishes Public vs Shared Add record to Access Database Using JPG stills to make a "Video" file |
|||||||||||||||||||||||