[quoted text, click to view] "Mark Rae" wrote: > "Mark" <analizer1@yahoo.com> wrote in message > news:GX8wh.5867$O02.3106@newssvr11.news.prodigy.net... > > > hi i would like you all to let me now some pro's and con's > > between vb.net and c# > > Apart from the obvious difference in syntax, the two languages are pretty > much identical, apart from a few areas: > > - C# supports pointers, VB.NET doesn't > - C# is case-sensitive, VB.NET (generally) isn't > - VB.NET permits sloppy coding (!) by turning off Option Strict > > Plus a few minor other differences... > > > I want my company to get away from vb6 and move into c# > > Ah, but that's a very different argument... :-) You've posted in a C# > newsgroup, so most people here will applaud your wishes. However, even if > you have a huge investment in VB6, please don't let that influence your > choice of .NET language. One of the biggest mistakes people make is to > imagine that VB.NET is the next version of Visual Basic - it isn't - not > even close... > > > we do alot of online transactions mssql2005 > > back end services, processing ,email, fpt, vpn etc. > > and front end web reporting, ftp, information pages > > All of the above can be done equally well in C# or VB.NET. For virtually > every aspect of programming against the .NET Framework, the actual > programming language is irrelevant because they all compile down to the same > thing anyway... > > I would advise you to take a modular approach based on the seven core > modules as outlined in the Microsoft Enterprise Library: > http://aspnet.4guysfromrolla.com/articles/022305-1.aspx, and develop > reusable base classes for each of these. I'd further advise you to start > with a database abstraction layer (DAL), because database connectivity is > pretty much fundamental to any business software development. > > Doing this will not only give you a lot of exposure to the most important > areas of the .NET Framework, but it will also vastly simplify the rest of > your development tasks. > > Syntax or feature wise I don't think you can really argue that one is really that much better than the other. I personally think C# is a bit more popular in terms of documentation or at least is easier to find code samples in C# than VB. This is a big C# selling point for me. Also, it seems that C# is a bit more popular when you do job searches. Your company might have better luck finding C# developers than VB ones.
This is a very old and tired subject which has been covered -- literally -- HUNDREDS of times in this and other newsgroups if you care to search. VB.NET, while it can be considered a "first class" .NET citizen, is really unnecessary to the .NET platform other than the fact that Microsoft didn't want to leave 4 million classic VB programmers with no easy path to the .NET platform (IMHO). Peter -- Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com Short urls & more: http://ittyurl.net [quoted text, click to view] "Mark" wrote: > hi i would like you all to let me now some pro's and con's > between vb.net and c# > I want my company to get away from vb6 and move into c# > we do alot of online transactions mssql2005 > back end services, processing ,email, fpt, vpn etc. > and front end web reporting, ftp, information pages > > tia > mark > > >
hi i would like you all to let me now some pro's and con's between vb.net and c# I want my company to get away from vb6 and move into c# we do alot of online transactions mssql2005 back end services, processing ,email, fpt, vpn etc. and front end web reporting, ftp, information pages tia mark
[quoted text, click to view] "Mark" <analizer1@yahoo.com> wrote in message news:GX8wh.5867$O02.3106@newssvr11.news.prodigy.net... > hi i would like you all to let me now some pro's and con's > between vb.net and c#
Apart from the obvious difference in syntax, the two languages are pretty much identical, apart from a few areas: - C# supports pointers, VB.NET doesn't - C# is case-sensitive, VB.NET (generally) isn't - VB.NET permits sloppy coding (!) by turning off Option Strict Plus a few minor other differences... [quoted text, click to view] > I want my company to get away from vb6 and move into c#
Ah, but that's a very different argument... :-) You've posted in a C# newsgroup, so most people here will applaud your wishes. However, even if you have a huge investment in VB6, please don't let that influence your choice of .NET language. One of the biggest mistakes people make is to imagine that VB.NET is the next version of Visual Basic - it isn't - not even close... [quoted text, click to view] > we do alot of online transactions mssql2005 > back end services, processing ,email, fpt, vpn etc. > and front end web reporting, ftp, information pages
All of the above can be done equally well in C# or VB.NET. For virtually every aspect of programming against the .NET Framework, the actual programming language is irrelevant because they all compile down to the same thing anyway... I would advise you to take a modular approach based on the seven core modules as outlined in the Microsoft Enterprise Library: http://aspnet.4guysfromrolla.com/articles/022305-1.aspx, and develop reusable base classes for each of these. I'd further advise you to start with a database abstraction layer (DAL), because database connectivity is pretty much fundamental to any business software development. Doing this will not only give you a lot of exposure to the most important areas of the .NET Framework, but it will also vastly simplify the rest of your development tasks.
Larry, That is absolutely try in the strict interpretation of the comment. But, C# was actually designed from the ground up as the target language for the .NET platform, submitted to and ratified by ECMA. That's the point I was heading at. Peter -- Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com Short urls & more: http://ittyurl.net [quoted text, click to view] "Larry Lard" wrote: > Peter Bromberg [C# MVP] wrote: > > This is a very old and tired subject which has been covered -- literally -- > > HUNDREDS of times in this and other newsgroups if you care to search. > > > > VB.NET, while it can be considered a "first class" .NET citizen, is really > > unnecessary to the .NET platform other than the fact that Microsoft didn't > > want to leave 4 million classic VB programmers with no easy path to the .NET > > platform (IMHO). > > Peter > > > > C# is 'unnecessary to the .NET platform' as well - the platform is > language-agnostic (which is quite an important part of its point). > > Or would you say all but one of these: > < http://www.dotnetlanguages.net/DNL/Resources.aspx> are 'unnecessary' as > well? > > > -- > Larry Lard > larrylard@googlemail.com > The address is real, but unread - please reply to the group > For VB and C# questions - tell us which version
I believe that large parts of both VS and the framework were written in C#. I know that Microsoft.Practices.EnterpriseLibrary was written in C# - you can download the source code. Mike Ober. "Peter Bromberg [C# MVP]" <pbromberg@yahoo.yabbadabbadoo.com> wrote in message news:DAC44A78-9E9B-4753-9ECD-7E6CF1C21E59@microsoft.com... [quoted text, click to view] > Larry, > That is absolutely try in the strict interpretation of the comment. But, > C# > was actually designed from the ground up as the target language for the > .NET > platform, submitted to and ratified by ECMA. That's the point I was > heading > at. > Peter > > -- > Site: http://www.eggheadcafe.com > UnBlog: http://petesbloggerama.blogspot.com > Short urls & more: http://ittyurl.net > > > > > "Larry Lard" wrote: > >> Peter Bromberg [C# MVP] wrote: >> > This is a very old and tired subject which has been covered -- >> > literally -- >> > HUNDREDS of times in this and other newsgroups if you care to search. >> > >> > VB.NET, while it can be considered a "first class" .NET citizen, is >> > really >> > unnecessary to the .NET platform other than the fact that Microsoft >> > didn't >> > want to leave 4 million classic VB programmers with no easy path to the >> > .NET >> > platform (IMHO). >> > Peter >> > >> >> C# is 'unnecessary to the .NET platform' as well - the platform is >> language-agnostic (which is quite an important part of its point). >> >> Or would you say all but one of these: >> < http://www.dotnetlanguages.net/DNL/Resources.aspx> are 'unnecessary' as >> well? >> >> >> -- >> Larry Lard >> larrylard@googlemail.com >> The address is real, but unread - please reply to the group >> For VB and C# questions - tell us which version >>
Hi, [quoted text, click to view] "Mark" <analizer1@yahoo.com> wrote in message news:GX8wh.5867$O02.3106@newssvr11.news.prodigy.net...
| hi i would like you all to let me now some pro's and con's | between vb.net and c# | I want my company to get away from vb6 and move into c# | we do alot of online transactions mssql2005 | back end services, processing ,email, fpt, vpn etc. | and front end web reporting, ftp, information pages In short there are not too many differences. Both use the same framework. Use the one that you like the most -- Ignacio Machin machin AT laceupsolutions com
Hi, "Peter Bromberg [C# MVP]" <pbromberg@yahoo.yabbadabbadoo.com> wrote in message news:DAC44A78-9E9B-4753-9ECD-7E6CF1C21E59@microsoft.com... | Larry, | That is absolutely try in the strict interpretation of the comment. But, C# | was actually designed from the ground up as the target language for the ..NET | platform, submitted to and ratified by ECMA. That's the point I was heading | at. | Peter I read somewhere that C# was for those who are too machos for Vb.net and too weak for C++ :) Jokes apart I like the syntax that's why I use it. In completely honestly I do not remember to have used a C# only feature ever. -- Ignacio Machin machin AT laceupsolutions com
If your company is making software to sell and the languages have mostly the same functionality then you may want to choose a language based on the outside perception. We chose to port our large VB6 application to C# because it "sounds" better than Visual Basic to non-technical people. Again, this is only if you do not have a preference to a language. I personally prefer the case-sensitivity and syntax structure of C#, it makes it easier to read, so I am glad that we went with it. Dan [quoted text, click to view] "Mark" <analizer1@yahoo.com> wrote in message news:GX8wh.5867$O02.3106@newssvr11.news.prodigy.net... > hi i would like you all to let me now some pro's and con's > between vb.net and c# > I want my company to get away from vb6 and move into c# > we do alot of online transactions mssql2005 > back end services, processing ,email, fpt, vpn etc. > and front end web reporting, ftp, information pages > > tia > mark > > >
[quoted text, click to view] Peter Bromberg [C# MVP] wrote: > This is a very old and tired subject which has been covered -- literally -- > HUNDREDS of times in this and other newsgroups if you care to search. > > VB.NET, while it can be considered a "first class" .NET citizen, is really > unnecessary to the .NET platform other than the fact that Microsoft didn't > want to leave 4 million classic VB programmers with no easy path to the .NET > platform (IMHO). > Peter >
C# is 'unnecessary to the .NET platform' as well - the platform is language-agnostic (which is quite an important part of its point). Or would you say all but one of these: < http://www.dotnetlanguages.net/DNL/Resources.aspx> are 'unnecessary' as well? -- Larry Lard larrylard@googlemail.com The address is real, but unread - please reply to the group
Hi, [quoted text, click to view] "Larry Lard" <larrylard@googlemail.com> wrote in message news:52ei2mF1olk31U1@mid.individual.net... | Ignacio Machin ( .NET/ C# MVP ) wrote:
| | Anonymous delegates make some things very nice, and I can't see how you | could readily (and 'nicely') express them in a Basic-like syntax... I do not know the answer to that question, I haven't worked in VB.net for at least a year and beside, I totally hate VB syntax. I totally agree with Peter than MS was forced to create "something" and called it VB something. Otherwise the VB folks would complain like crazy.
Well thanks all for you responses...... Ive done c,c++ the most of my last few years was using visual objects (ca-vo) wich is completly OOP and native compiler...but time to go to net.... I personally like c#......Ive Never liked VB.... again Thanks for all the responses.... Mark "Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in message news:eSUv%23JhRHHA.4188@TK2MSFTNGP06.phx.gbl... [quoted text, click to view] > Hi, > > > "Mark" <analizer1@yahoo.com> wrote in message > news:GX8wh.5867$O02.3106@newssvr11.news.prodigy.net... > | hi i would like you all to let me now some pro's and con's > | between vb.net and c# > | I want my company to get away from vb6 and move into c# > | we do alot of online transactions mssql2005 > | back end services, processing ,email, fpt, vpn etc. > | and front end web reporting, ftp, information pages > > In short there are not too many differences. Both use the same framework. > > Use the one that you like the most > > > -- > Ignacio Machin > machin AT laceupsolutions com > >
[quoted text, click to view] Ignacio Machin ( .NET/ C# MVP ) wrote: > Hi, > > > "Peter Bromberg [C# MVP]" <pbromberg@yahoo.yabbadabbadoo.com> wrote in > message news:DAC44A78-9E9B-4753-9ECD-7E6CF1C21E59@microsoft.com... > | Larry, > | That is absolutely try in the strict interpretation of the comment. But, > C# > | was actually designed from the ground up as the target language for the > ..NET > | platform, submitted to and ratified by ECMA. That's the point I was > heading > | at. > | Peter > > I read somewhere that C# was for those who are too machos for Vb.net and too > weak for C++ :)
I'm definitely remembering that one :) [quoted text, click to view] > Jokes apart I like the syntax that's why I use it. In completely honestly I > do not remember to have used a C# only feature ever.
Anonymous delegates make some things very nice, and I can't see how you could readily (and 'nicely') express them in a Basic-like syntax... -- Larry Lard larrylard@googlemail.com The address is real, but unread - please reply to the group
[quoted text, click to view] "Mark" <analizer1@yahoo.com> wrote in message news:3Knwh.24049$yC5.9705@newssvr27.news.prodigy.net... > Well thanks all for you responses...... > Ive done c,c++ the most of my last few years was
If that's the case you might take a look at C++/CLI, another powerfull .NET language. Willy.
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in message news:uzd0E2iRHHA.4632@TK2MSFTNGP04.phx.gbl... [quoted text, click to view] > I do not know the answer to that question, I haven't worked in VB.net for > at > least a year and beside, I totally hate VB syntax.
Likewise. [quoted text, click to view] > I totally agree with Peter than MS was forced to create "something" and > called it VB something. Otherwise the VB folks would complain like crazy.
Yes but, playing devil's advocate here, imagine if VB.NET had been the top ..NET language and C# merely a sop to the VC++ community...;-)
I hated the basic language even back in the day...many moons ago in college....would not program with it then or under windows....but thats me.... [quoted text, click to view] "Mark Rae" <mark@markNOSPAMrae.com> wrote in message news:%23m4kUPlRHHA.920@TK2MSFTNGP05.phx.gbl... > "Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in > message news:uzd0E2iRHHA.4632@TK2MSFTNGP04.phx.gbl... > >> I do not know the answer to that question, I haven't worked in VB.net for >> at >> least a year and beside, I totally hate VB syntax. > > Likewise. > >> I totally agree with Peter than MS was forced to create "something" and >> called it VB something. Otherwise the VB folks would complain like crazy. > > Yes but, playing devil's advocate here, imagine if VB.NET had been the top > .NET language and C# merely a sop to the VC++ community...;-) >
Hi, [quoted text, click to view] "Mark Rae" <mark@markNOSPAMrae.com> wrote in message news:%23m4kUPlRHHA.920@TK2MSFTNGP05.phx.gbl...
| "Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in | message news:uzd0E2iRHHA.4632@TK2MSFTNGP04.phx.gbl... | | > I do not know the answer to that question, I haven't worked in VB.net for | > at | > least a year and beside, I totally hate VB syntax. | | Likewise. | | > I totally agree with Peter than MS was forced to create "something" and | > called it VB something. Otherwise the VB folks would complain like crazy. | | Yes but, playing devil's advocate here, imagine if VB.NET had been the top | .NET language and C# merely a sop to the VC++ community...;-) | That's is a good one :) Yes, I think that it could had been like that. But IMO this would had given the impression of a less than powerful and maybe less profesional framework. cause everybody knows that VB has not half the power than C++. Unfortunately C++ is very difficult to learn and exploit. so there is Java, that was like the "perfect" compromise. So MS basically create a Java competitor. -- Ignacio Machin machin AT laceupsolutions com
Don't see what you're looking for? Try a search.
|