C# Using List.Find

Ever wonder how you use a Predicate Delegate to make the Find function work? Well I was wondering as well, so I found the following useful snippet on MSDN: http://msdn2.microsoft.com/en-us/library/x0b5b5bc.aspx

C# Environment variables

If you ever need to set environment variables in .Net 2.0+, you can use these: System.Environment.SetEnvironmentVariable(“MACHINE_VAR”, “Somevalue”, EnvironmentVariableTarget.Machine); System.Environment.SetEnvironmentVariable(“USER_VAR”, “Somevalue”, EnvironmentVariableTarget.User); System.Environment.SetEnvironmentVariable(“PROCESS_VAR”, “Somevalue”, EnvironmentVariableTarget.Process); string env_val = System.Environment.GetEnvironmentVariable( “PROCESS_VAR”, EnvironmentVariableTarget.Process); These however do have their limitations: If your use does not have privileges to the registry or to set environment variables these will not work. …

Amazing Wheels: 2009 BMW X6

Very few cars on this planet are ones that I would consider driving on a daily basis. The BMW X6 Production model is but the second one I`ll eventually drive. Dubbed the 2009 X6 Concept and unveiled at the German Auto Show, the BMW marks the birth of the Sports Activity Vehicle. It was designed …

Screaming downloads…

Surprisingly crazy speeds can be acquired on basic cable internet nowadays.. in one case I got . That’s insane.. 700MB file in less than 35 minutes… pretty good for a home connection. Let’s hope they can keep it up!

Why should the Tiger get it?

Man, so allegedly this Christmas a Siberian Tiger ‘escaped’ it’s enclosure, killed one person and injured two others. Word now is that the Tiger might have been taunted (source). So let me ask you this. Why the heck would you think that taunting an animal does not piss it off? I mean I’ve seen house …