Now before you write off this post as being ‘just another silly request’ hear me out. Right now in C# we can do the following switch( someObject ) { case Option1: case Option2: case Option3: // do something break; case Option4: // do something break: } Allowing fall through for a switch statement is...
Today I was looking through a sample Asp.Net MVC application and the first thing I noticed is that one of the controllers had 4 repositories injected into the controller (hey, at least they are injected right :) ). The code then went onto to interact with the various repositories in each of the various...
Ok, so I know this is a odd question but I am stumped. Normally when I have a private instance level variable that is exposed via a property I format my class file as such. { ..... all instance variables ..... any constructors ..... any public/private/protected methods ..... any properties } Now that...
As I am sure most of you are aware, Microsoft has released the VS 2008 IDE to MSDN subscribers yesterday. I decided to give it a download and take it for a twirl. I thought I would must dump a few random thoughts from my hour or so of 'playing' with it. It appears to be running MUCH faster. However...
Ok, this is an official rant about the .Net Framework 2.0 70-536 Self-Paced Training Kit. I understand that writing a book is difficult, I understand that creating 302 practice test is also difficult. Buy my god, people are using these materials as study aids to pass a cert. Editors, proof read the DAMN...