Categories
Tags
-
Recent Posts
Personal
Technical
-
Recent Comments
sdsdsd on Type-Safe Two-Way Data Binding… Syed on Digging into WCF REST Tony Sneed on Digging into WCF REST Syed on Digging into WCF REST test on EF4 compared to NHibernat… Twitter
- RT @gblock: Web API getting released under OSS! Read about it from @scottgu here: http://t.co/kMCYfevk 2 days ago
- RT @richardblewett: Getting ready for an evening of C#5 async at the new DevelopMentor Moorgate office #dm 2 days ago
- My son Kory celebrates his first birthday today. http://t.co/FU19USZg 2 days ago
Monthly Archives: March 2006
.Net 2.0+ Essential Reading
.Net 2.0 Essential Reading People keep asking me to recommend a good book for learning C# or
understanding the .Net Framework. But in general there are two problems with programming books: a) There
are far too many out there (making it hard to ferret out the good ones). b) Most of them are too long and
verbose (resulting in a lot of wasted time poring over each one to find what you need to know). What I
decided to do is put together a list of what I consider the very best books related to C# and the .Net Platform.
If you’re like me, you’ve got a few other things to do Continue reading
Calling Invoke on a Delegate
Calling Invoke on a Delegate In C# version 1.x you could not call Invoke directly on a delegate instance.
Doing so would generate a compiler error. class MyApp { delegate void MyDelegate(); static void
TargetMethod(){} static void Main(string[] args) { MyDelegate del = new MyDelegate(TargetMethod); // Illegal
in C# 1.x — generates a CS1533 compiler error del.Invoke(); } } The way to invoke a delegate was to use the
delegate like calling a method directly. // In C# 1.x you must invoke a delegate like this del(); Not everyone
liked having to do it this way. (Don Box was critical of this requirement in his book, Essential Continue reading
Posted in Technical
Leave a comment




