<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with Operators</title>
    <description>the latest stories tagged with 'Operators' from DotNetKicks.com</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>Integer to Byte using Bitwise Operators</title>
      <description>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. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2flenielmacaferi.blogspot.com%2f2008%2f05%2finteger-to-byte-using-bitwise-operators.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2flenielmacaferi.blogspot.com%2f2008%2f05%2finteger-to-byte-using-bitwise-operators.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Integer_to_Byte_using_Bitwise_Operators</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Integer_to_Byte_using_Bitwise_Operators</guid>
      <pubDate>Mon, 12 May 2008 21:43:46 GMT</pubDate>
    </item>
    <item>
      <title>Integer to Byte using Bitwise Operators</title>
      <description>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. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2flenielmacaferi.blogspot.com%2f2008%2f05%2finteger-to-byte-using-bitwise-operators.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2flenielmacaferi.blogspot.com%2f2008%2f05%2finteger-to-byte-using-bitwise-operators.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/other/Integer_to_Byte_using_Bitwise_Operators</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/other/Integer_to_Byte_using_Bitwise_Operators</guid>
      <pubDate>Mon, 12 May 2008 21:43:46 GMT</pubDate>
    </item>
    <item>
      <title>Chaining the C# ?? Operator</title>
      <description>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? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.west-wind.com%2fweblog%2fposts%2f236298.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.west-wind.com%2fweblog%2fposts%2f236298.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Chaining_the_C_Operator</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Chaining_the_C_Operator</guid>
      <pubDate>Tue, 29 Jan 2008 09:01:02 GMT</pubDate>
    </item>
    <item>
      <title>Overload operators the right way in C#</title>
      <description>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. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.madskristensen.dk%2fblog%2fOverload%2bOperators%2bThe%2bRight%2bWay%2bIn%2bC.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.madskristensen.dk%2fblog%2fOverload%2bOperators%2bThe%2bRight%2bWay%2bIn%2bC.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/Overload_operators_the_right_way_in_C</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/Overload_operators_the_right_way_in_C</guid>
      <pubDate>Tue, 29 Aug 2006 08:01:01 GMT</pubDate>
    </item>
  </channel>
</rss>