Re: From VB to C# - anyone know of a good book?

"Shawn Wildermuth (MVP)" <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
Couldn't you have turned off the background compiler?  That's a VS issue,
not a VB issue.

Thanks,

Shawn Wildermuth
Wildermuth Consulting Services, LLC
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Hodgin, Scott
Sent: Monday, February 12, 2007 9:18 AM
To: [email protected]
Subject: Re: [DOTNET-WEB] From VB to C# - anyone know of a good book?

We started one of our big projects writing in VB.net and quickly realized,
as the number of classes increased in the project (100's), that the VB
background compiler (while very nice in dynamically telling you what is
wrong syntax wise and misspelled variables and the like) wound up slowing
the IDE way too much.  We rewrote everything in C#.

Scott Hodgin
Database Administrator
South Carolina Farm Bureau Insurance Company
[email protected]


-----Original Message-----
From: Mike Andrews [mailto:[email protected]]
Sent: Thursday, February 08, 2007 4:30 PM
To: [email protected]
Subject: Re: [DOTNET-WEB] From VB to C# - anyone know of a good book?

Is there a particular reason why?

I'm fluent in both and can easily switch between them.  C# is the language
for my work and I write all my other code in VB.
My favorite is VB.

I think the IDE has been improved over the C# IDE for VB programmers.
C# IDE is more combersome when dealing with objects and events.
VB has the My namespace (although I wish it was named something different)
which contains many very useful shortcuts; it should be a part of both
"languages".
The VB intellisense is slightly better.
VB gives you the ability to have parameterized properties.
(I realize I'll get hammered on this one)...
I love the fact that VB makes some implict conversions for you and you don't
have to explicitly cast everything.

But in raw power, and usage of the Framework, neither one surpasses the
other.  It's really a matter of preference regardless of what one proponent
says over the other.  It all boils down to IDE.  They both compile into the
same IL.

That said, what does make a difference is holding on to the vestigages of VB
such as using ON ERROR RESUME NEXT and other such VB specific constructs
about which the compiler has to make assumptions.

 I believe the reason that the perception is that C# is "better" is that VB
is still viewed as a substandard way of accomplishing programming tasks and
that could not be further from the truth.  VB is just as viable a
programming solution for development as C#.

As far as a book for C#, these I would highly recommend; I own these and
they have been a tremendous help.  You must remember, however, that they may
be called "C#", but they're Framework books and the examples (for the most
part) will apply regardless of language.  These books do have a counterpart
for VB as well.


Pro ASP.NET 2.0 in C# 2005
  Matthew MacDonald and Mario Szpuszta

C# 2005 and the .NET 2.0 Platform
  Andrew Troelsen

Pro .NET 20.0 Windows Froms and Custom Controls in C#
  Matthew MacDonald

Windows Form 2.0 Programming
  chris Sells and Michael Weinhardt

Professional C# 2005
  (too many authors to name)





On 2/2/07, Ben Joyce <[email protected]> wrote:
>
> Hi all.
>
> I've decided to start learning C# and also practice more OO
> programming.  Does anyone have any book recommendations?  I'm an
> experienced VB developer so I'm guessing beginner-level might be a
> waste, but perhaps I need to unlearn my VB ways to learn C# the
> correct way?
>
> I hope that makes sense!
>
> Any help appreciated.
>
> Ben
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.