themonkeysgrinder.blogspot.com
The Monkey's Grinder: C#er
http://themonkeysgrinder.blogspot.com/2009/07/cer.html
Thursday, July 23, 2009. Was chillin' with the impish abock. Last weekend when, all of a hullabaloo, he geniused something wonderful. Var button = new Button {. Label = "Push Me",. Relief = ReliefStyle.None. Button.Clicked = (o, a) = Console.WriteLine ("ouch! To which I replied, "? Var button = new Button {. Label = "Push Me",. Relief = ReliefStyle.None,. Clicked = Console.WriteLine ("ouch! Is not it better? Yes," quoth I, "but gentle abock, this wundercode. it doth not compile! See what I did there?
monocodecontracts.blogspot.com
Mono Code Contracts: Beginnings
http://monocodecontracts.blogspot.com/2010/05/beginnings.html
Work done towards the Mono implementation of .NET4 Code Contract Verification. Friday, 28 May 2010. This summer I am pleased to be part of Google Summer of Code 2010. I will be working on the Mono. Project, implementing the .NET4 Code Contract Verifiers. Mentored by Marek Safar. This is a large body of work, and I am not considering trying to fully implement every part of it. By the end of the summer I expect to have:. The System.Diagnostics.Contracts namespace fully implemented in corlib.
monocodecontracts.blogspot.com
Mono Code Contracts: May 2010
http://monocodecontracts.blogspot.com/2010_05_01_archive.html
Work done towards the Mono implementation of .NET4 Code Contract Verification. Friday, 28 May 2010. Code Contracts and Assert() weirdness. System.Diagnostics.Debug.Listeners.Clear();. System.Diagnostics.Debug.Assert(false);. This code does not show a dialog box with the assert information because the default listener has been removed. It is completely possibly to add custom listeners that perform whatever behaviour is required. Therefore the following code:. Shows an assert dialog box. This is a large bo...
cjcollier.livejournal.com
The Pædantic Programmer's LiveJournal
http://cjcollier.livejournal.com/tag/novell
The Pædantic Programmers LiveJournal. 08:44 pm June 27th, 2010. Hey, look. I got mcs to github before Miguel. Originally published at The Pædantic Programmer. Please leave any comments. I’m also hosting it on my own not-as-l33t git repo:. Http:/ git.colliertech.org/? Does this mean that I get a “cooler than Miguel” tee shirt? 12:28 pm March 18th, 2010. IronRuby on OS X. Originally published at The Pædantic Programmer. Please leave any comments. You can grab the Mono .dmg from go-mono.com. At this point, ...
themonkeysgrinder.blogspot.com
The Monkey's Grinder: 07/23/09
http://themonkeysgrinder.blogspot.com/2009_07_23_archive.html
Thursday, July 23, 2009. Was chillin' with the impish abock. Last weekend when, all of a hullabaloo, he geniused something wonderful. Var button = new Button {. Label = "Push Me",. Relief = ReliefStyle.None. Button.Clicked = (o, a) = Console.WriteLine ("ouch! To which I replied, "? Var button = new Button {. Label = "Push Me",. Relief = ReliefStyle.None,. Clicked = Console.WriteLine ("ouch! Is not it better? Yes," quoth I, "but gentle abock, this wundercode. it doth not compile! See what I did there?
themonkeysgrinder.blogspot.com
The Monkey's Grinder: C# 4 is NOW!
http://themonkeysgrinder.blogspot.com/2009/02/c-4-is-now.html
Tuesday, February 3, 2009. C# 4 is NOW! Generic type variance support just landed in mcs. This is a C# 4 language feature. You can give it a go by checking out SVN trunk and compiling your variant code with gmcs -langversion:future. Well, this adds compiler support for variance but the Mono VM isn't up to speed on its variance handling. This means that you can compile the code but it won't actually run on Mono (until we fix that, which I am also doing). You can. Run it on the .NET 2.0 VM. And let's say t...
themonkeysgrinder.blogspot.com
The Monkey's Grinder: 07/16/09
http://themonkeysgrinder.blogspot.com/2009_07_16_archive.html
Thursday, July 16, 2009. Type safety only gets you so far; eventually you have to cast. There are three features in the C# language which address typing: the unary cast operator and the binary "as" and "is" operators. I see people misuse these operators all the time, so here for your records are the official Best Ways to use each. If you want to check the type of an object and do not care about using the object as that type, use the "is" operator. For example:. If (thing is MyType) {. If (my type thing!
themonkeysgrinder.blogspot.com
The Monkey's Grinder: Casting Call
http://themonkeysgrinder.blogspot.com/2009/07/casting-call.html
Thursday, July 16, 2009. Type safety only gets you so far; eventually you have to cast. There are three features in the C# language which address typing: the unary cast operator and the binary "as" and "is" operators. I see people misuse these operators all the time, so here for your records are the official Best Ways to use each. If you want to check the type of an object and do not care about using the object as that type, use the "is" operator. For example:. If (thing is MyType) {. If (my type thing!