-
In a previous post , I talked about the specification pattern. In the last sentence I promised you to keep you posted on the next version of the implementation. I still owe you guys that result. So without further ado: Download it here . The implementation itself is pretty straightforward. The class...
-
Introduction A while ago there was quite the discussion about what the differences where between VB.NET and C# and what people should use. After a while it seems that most things where said and it became clear that the C# camp had the most zealous advocates. Now things have quieted down a lot and it...
-
In projects that span over multiple teams and for other very reasonable architecture reasons you end up with multiple assembles for your current project or even if you want to reuse a library one of the other teams wrote you will find yourself using code from other assembly, now you have couple of choices...
-
Today's tip is a quick look at both not widely used C# operators and why prefer one to another.. Casting using is-operator: if(p is Product) // CLR?: Could i cast this to product? { Product x = (Product)p; // CLR again??: Could i cast this to Product? } This work but comes with performance cost so...
-
Disclaimer: I'm no MS/.Net evangelist. I'm just a computer software developer that wants to share his experience working on a weekend project (actually 3 weekends...) As a bet between me and my wife, I took the challenge of developing grid computing software over the weekend. The aim is to basically...
-
I was wondering what is it ALT.NET, once you reach the definition.. if you a ALT.NET developer so " You’re the type of developer who uses what works while keeping an eye out for a better way.", of course this make sense and we all should think that way, sign me up the irony here is that by...
-
Anyone who may think so got to be insane, but as Wagner pointed out recently .. I think your question shows that C# is just starting to mature. It's the first time I've been asked is C# is getting old. Most of the people I've worked with that are concerned about C# in a new development are...
-
Those are a subset of Hanselman's tool list , those are very helpful during my daily job... so i thought i share with you.. to boost your productivity as well. Query Express - A light weight Query analyzer like application .NET Reflector - Amazing utility reflect over .NET Assemblies you can use...
-
Comes in handy if you want to implement an automatic application upgrade component. By calling System.Deployment.Application. ApplicationDeployment .CurrentDeployment.CurrentVersion You'll get in return which current version is running and can alert the user that there is a new version available...
-
Take the test.. http://newtechusa.com/csharp-dotnet-quiz.asp
-
I wrote this puzzle while ago and thought it's time to share it, as when i searched the internet back the time od developing this i did not find any similar puzzle that expose this flexibility. To have this flexibility on hand we have to do couple of things first of all generate buttons which will be...
-
Phillip Jacobs has posted describing how to debug a Windows Service without having the process attached to the service... and i agree as attaching the process to the service and compile, deploy every time is just painfull, from my perspective the best and easiest way to do so is to have the statment...
-
Some usefull resouces for developing Office add-ins. http://msdn2.microsoft.com/en-us/library/bb208173.aspx http://msdn2.microsoft.com/en-us/library/bb226710.aspx http://www.outlookcode.com http://msdn2.microsoft.com/en-us/library/aa289518(VS.71).aspx http://www.shahine.com/omar/CategoryView,category...
-
The fact that we (Developers) get paid and make living from doing what we love is a targeted by grudge from all other professions so imagine if you WORK + GET PAID + FIGHT CANCER . When i was at the closing session of MDC 2007 i have catch Stephen Forte for a few words before i leave when he mentioned...
-
Theres many ways to test equality between two object in fact theres four we have Object.ReferenceEquals(), static Equals() , instance Equals(), operator== Object.ReferenceEquals(); This method simple test the equality of referances of two referance types so if these two types are pointing to the same...