The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I think the threading chapter is very similar, if not the same in both anyways.
This chapter is just so good. I really like the way it builds up the story of threading -- how it has worked in past, using lambdas, handling exceptions, etc. Each little bit step by step. Very cool.
does the newer versions of NutShell also contain the previous versions content in them, as if i remember i had read few chapters of c# 5.0 in a nutshell 2 years back and it was indeed a good read for me but wasn't able to finish the whole book.
also contain the previous versions content in them
Basically it does, because the authors are really good at explaining what has changed along the way which is also why the book is so good.
For example in the threading chapter they talk about C# pre-lambda calls and how passing argument to a new thread is different back then. really great stuff.
A minor point (correction) but async/await is not threading and threading is not async/await
Agreed. It is a concurrency / asynchronous thing not really threading.
I now try to always say concurrency but I often fall back on old words.
This is also why I'm reading this chapter because the authors cover all of this.
Does it talk about how to create an Asynchronous method using tasks?
Most information I've found about async/await is about the caller, "You mark a method as async and then use await to call asynchronous methods". I haven't been able to find a lot on how one would actually go about writing an asynchronous method to be called by await.
I'm just reading the Async stuff today so I paged through.
The information is very detailed about Async / Await and walks you through small detailed uses and builds upon it so they hit everything.
A large number of pages dedicated to explaining it very well.
I haven't been able to find a lot on how one would actually go about writing an asynchronous method to be called by await.
It looks like there are specific examples to do that also.
Major worries this am, alarm didn't go off, got out of bed late, the train I usually catch gone, the next one cancelled, following one re-timed (read late, but if re-timed they don't have to pay compensation). Being that I work in a small village outside of a city (Bristol) there is a very good train service but being a small commuter village the trains can 'skip' the stop if needed. So a train service is very good gets really bad quick...
Ooh look spammers are back!
Weird. I forgot to turn my alarm of, so of course I got up late. I wonder if this is the work of an alien presence.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013