|
I can't imagine there'll be too many people around on Tuesday. Personally, I'll be giving my keyboard a rest for the whole week. 10 glorious .NET free days - what more can a man ask for?
Slogans aren't solutions.
|
|
|
|
|
Last year we cancelled it until the new year it seems, so I'm happy if you want to re-start on Monday 2nd, or possibly Tuesday 3rd.
Since most of the western world shuts down for the week between Xmas and New Year it does make some sense.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Having been a hobbyist coder since 1900 and frozen to death, I've always used VB and VB.net; I know, I know, we don't need to go there! Anyway, as I'm now starting to get on in years, I think it's time I learnt a new programming language and C# comes to mind.
My question is, can someone recommend a good beginners book on C#? I know about Rob Miles' The C# Programming Yellow Book but this is only available on Kindle. I need an actual book. I don't really want one of those 'Learn C# in 24 Hours' nonsense; I'd like something that eases you into the language and then gets into the more technical stuff.
Any recommendations; any book(s) that anyone has found really useful?
|
|
|
|
|
|
|
|
I'm using the second recommended book to learn .Net Core and C#, and it looks a good book but I'm not that far into it yet. Well written with everything clearly described. I'm having problems with some of the illustrations though. They don't match the actual screens in the installed code - ASP.NET 2015 Community Edition - which is a bit off-putting..
|
|
|
|
|
C# == VB.NET with slightly different syntax.
Some people may argue on the "slightly" part, but unless you still use VB6 libraries in your VB.NET code I think it would be more helpful to get a C# vs. VB.NET syntax comparison.
Something like this: VB.NET and C# Comparison[^]
Or this: Complete Comparison for VB.NET and C#[^]
Google is your friend.
I've switched from VB.NET to C# and only found myself really struggling with syntax on the first day and looking things up in the first month or so.
Any book on C# will probably spend one chapter on syntax and 10 chapters on stuff you already know like IO, Serialization, Collections, etc.
|
|
|
|
|
Sander Rossel wrote: I've switched from VB.NET to C# and only found myself really struggling with syntax on the first day and looking things up in the first month or so.
In my case, then about once every 2 months getting really annoyed that you can't put an enum in an interface definition...
|
|
|
|
|
enum in an interface definition?
I'm not sure what you mean, but I guess I didn't know that was possible in either language
|
|
|
|
|
What continuously throws me off is the different default access modifiers.
|
|
|
|
|
Ouch yes - I have never successfully done "MustInherit" in C# without a Google brain refresh
|
|
|
|
|
It's virtual , no wait static , no wait abstract
I now have these kinds of problems when I have to switch back to VB
Public Shared Class ... wait
|
|
|
|
|
Isn't one of the first "best practices" suggestions to be explicit? I know I put all my access mods out. Helps when you do VB.NET and C# at the same time.
|
|
|
|
|
Yes it is.
|
|
|
|
|
|
Having done the transition myself, I agree with Sander and would myself have posted his first link.
.
|
|
|
|
|
C# in Depth - C# in Depth: About this site, and C# in Depth[^]
Porting from VB.Net to C# isn't hard, but maybe you might want to find an easier book to help you on that road.
Once you begin to feel comfortable with C#, the C# in Depth book is a bible worth keeping.
|
|
|
|
|
Thanks to everyone with their recommendations.
I did acquire a kindle version of Rob Miles' book in the end and have also ordered a copy of C# 6.0 and the .NET 4.6 Framework to be getting on with.
To ease me in, I have a number of small VB.net projects which I am going to rewrite in C# as I think this will be a good way to get familiar with the syntax.
Thanks again for you help - and happy holidays!
|
|
|
|
|
I found "The C# programming language" (by A.Hejlsberg - the lead architect of C#) very readable and useful because of short examples. 've been reading version 2.0, though ...
|
|
|
|
|
Proficiency in one means proficiency in other (assuming you didn't "learn" VB.NET by assuming it is same as VB).
If you really learned OOP with .NET, it is irrelevant which of the two you use. I prefer VB.NET, but can (and do) work in C# with occasional google reminder of proper syntax.
|
|
|
|
|
|
We are in 2016... 1900 is 116 years ago meaning that you are 128 years old if you start programming at 12.
Philippe Mori
|
|
|
|
|
Haha! "1900 and frozen to death" is an expression meaning so far back in time than I care to remember!
|
|
|
|
|