Recommend for me a C# book

techfuzz

Diamond Member
Feb 11, 2001
3,107
0
76
I need to learn C#. I already very proficient in VB.NET as well as many other languages. I probably need a book that gives a very brief introduction to the language and then really dives into it.

Please give me some book recommendations. Thanks.

techfuzz
 

Aberforth

Golden Member
Oct 12, 2006
1,707
1
0
C# is not required if you are already comfortable with vb.net, all .NET languages share the same .NET Framework Libraries and there are no big differences except in the coding style, so whatever language you use it will be compiled into MSIL (Microsoft Intermediate Langauage) byte code that is read by framework runtimes.

However, if it's for time pass then I recommend this book: http://www.amazon.com/Illustra...&qid=1218807505&sr=8-1

If I were you I'd try VC ++ 2008, it's different obviously :)
 

techfuzz

Diamond Member
Feb 11, 2001
3,107
0
76
I need to learn C# for two reasons:
1) We just had a project outsourced to consultants who wrote it in C# and I will be expected to maintain it.
2) I want to learn C# because it is going to be (if not already) the predominant .NET Framework language. Knowing the language makes me much more marketable in the job market too.

Thanks for that book recommendation. I will have to graciously decline your suggestion of trying VC++. I was taught C++ in college and I have no desire ever to use it for anything ever again.

techfuzz
 

imported_Dhaval00

Senior member
Jul 23, 2004
573
0
0
Since you already know VB.NET, the C# Illustrated book that Aberforth mentioned might come along as being too basic. I just finished reading the Pro version in the same series: http://www.amazon.com/2008-NET...49/ref=pd_bxgy_b_img_b. I thought it was a great read. Covers each and every topic [assuming you have basic C# and .NET knowledge]: Types, OOP, Reflection, COM Interop, WCP, WPF, WF, ADO.NET, LINQ, Collections, Generics, Events and Delegates, the GC and object lifetime, some ASP.NET, Lambdas and Extension methods, and so on. It probably is what you want... starts with the basic and just dives into the nitty-gritty details right away.
 

Aberforth

Golden Member
Oct 12, 2006
1,707
1
0
Originally posted by: techfuzz

Thanks for that book recommendation. I will have to graciously decline your suggestion of trying VC++. I was taught C++ in college and I have no desire ever to use it for anything ever again.

techfuzz

I didn't say it will be easy, VC++ is more important than C# as it gives us low level access to devices, kernel subsystem and memory. But there is no difference between VB.net and C#, if you are fimiliar with c++ you would find C# a little easy that's all.

Some months ago, I had to write an app that connects to a retinal scanner device, I simply couldn't do it with C# or VB.

 

techfuzz

Diamond Member
Feb 11, 2001
3,107
0
76
I should probably qualify that I can more or less read C# programming already... It's writing it that I need some assistance. I figured an intermediate to advanced C# book will probably do for my needs. A beginners introduction would probably be a waste of time.

Aberforth - The application I will be maintaining is an ASP.NET application, so VC++ would be a little overboard for my needs ;)

techfuzz
 

imported_Dhaval00

Senior member
Jul 23, 2004
573
0
0
Originally posted by: Aberforth
Some months ago, I had to write an app that connects to a retinal scanner device, I simply couldn't do it with C# or VB.

I haven't done any hardcore C++ programming, but have used the "unsafe" language feature within C# to make certain low level C++ calls. I am pretty certain that you can write whatever C++ code within "unsafe" blocks from within C# (I could be wrong, though).
 

nordloewelabs

Senior member
Mar 18, 2005
542
0
0
Originally posted by: techfuzz
I should probably qualify that I can more or less read C# programming already... It's writing it that I need some assistance.

judging by that statement, i'd say that "Illustrated C# 2008" is indeed your best choice. i have the 2005 edition and i liked it a lot! its text is very straight-forward. easy to:

1) read
2) consult
3) skim

try browsing a sample chapter online at Amazon or Apress if you have a chance. i believe you will like it.
 

EvilManagedCare

Senior member
Nov 6, 2004
324
0
0
Deitel & Deitel always write nice books that go into pretty good depth on a wide range of topics. C# How to Program would be worthwhile.