DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'Operators' Subscribe to this feed
2
kicks
submitted by leniel 2 months, 8 days ago

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...

Add a comment add a comment | category: | Views: 5
tags: , , | tag it

2
kicks
submitted by leniel 2 months, 8 days ago

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...

Add a comment add a comment | category: | Views: 5
tags: , , | tag it

15
kicks
published 5 months, 21 days ago, submitted by rstrahl rstrahl 5 months, 26 days ago

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...

Add a comment 1 comment | category: | Views: 0
tags: , , | tag it

11
kicks
published 1 year, 10 months ago, submitted by dalziel dalziel 1 year, 10 months ago

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...

Add a comment add a comment | category: | Views: 0
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge