Kick Spy!, Kick Zeitgeist and Kick Widgets
lenielmacaferi.blogspot.com — A sample that makes use of F#'s bitwise operators to encode (signed) 32-bit integers into 1, 2, or 5 bytes, represented by returning a list of integers. Integers in the range 0 to 127 return a list of length 1. A detailed review of the bitwise operations is provided so that you can better realize what's going on during the encoding process. read more...
west-wind.com — The C# 2.0 ?? operator makes it easy to assign a default value to nulls. Nothing new here, but did you know that you can also chain the operator to quickly check many value and find the first non-null value? read more...
madskristensen.dk — It’s a good rule of thumb to overload the equality operators on classes. That ensures a correct comparison between to class instances of the same type. If you don’t, .NET automatically uses reflection and that is way slower than a custom implementation. We all use the equality operators (“==”, “!=”) all the time and we expect them to be right every time. They are not!, but even if they were there is a good chance that you want to change them anyway. read more...
Sponsored Link: www.carlist.ie
Ads via The Lounge